ScreenShake works as intended at the press of E and upon calling the event.

This commit is contained in:
PlatinumSkink
2015-10-13 18:34:21 +02:00
parent 8762fe3513
commit ffea58d41f
3 changed files with 27 additions and 20 deletions
+1
View File
@@ -224,6 +224,7 @@ bool dd::Systems::PadSystem::OnKeyDown(const dd::Events::KeyDown &event) {
Events::ScreenShake e;
e.Intensity = 20;
e.Time = 3;
e.TimeTakenToCoolDown = 10;
EventBroker->Publish(e);
} else if (val == GLFW_KEY_Y) {
Events::StickyPad e;