aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-10-25 20:58:26 +0200
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-10-25 20:58:26 +0200
commitf472e0ba3bf54fc5055cf9f08925bed3f98a1dbc (patch)
tree319db79f630fa74a76dd1846b92b9fa8019d4620
parentebd163e3aacac74df1772d5bd794d2691918d324 (diff)
removed comment
-rw-r--r--mwe/events/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwe/events/src/main.cpp b/mwe/events/src/main.cpp
index 21f2dbf..6b22008 100644
--- a/mwe/events/src/main.cpp
+++ b/mwe/events/src/main.cpp
@@ -52,13 +52,13 @@ int main(int argc, char* args[]) {
triggerEvent(PlayerDamagedEvent(50, 1));
subscribe<KeyPressedEvent>(onKeyPressed,1,false);
subscribe<KeyPressedEvent>(onKeyPressed1,false);
- // std::unique_ptr<Event> anotherKeyPressEvent = std::make_unique<KeyPressedEvent>(65);
// queueEvent(std::move(anotherKeyPressEvent));
triggerEvent(KeyPressedEvent(42), 1);
EventManager::getInstance().dispatchEvents();
//collision event call
testCollisionEvent();
+
gameLoop.setup();
gameLoop.loop();
return 0;