aboutsummaryrefslogtreecommitdiff
path: root/mwe/gameloop
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:53:02 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:53:02 +0200
commita8a7ff90dfd626ea76dd9e9fe00c7854a7b9f31f (patch)
tree2724ddce9d181770e7ca745900af76ed64194451 /mwe/gameloop
parent39054829fa69bcfa2b468015dc3852a2f8deac9f (diff)
parentb5e83d076f356c6d01b7bbc1f033db4850356c0d (diff)
Merge branch 'wouter/events-poc' of github.com:lonkaars/crepe
Diffstat (limited to 'mwe/gameloop')
-rw-r--r--mwe/gameloop/include/eventManager.h6
-rw-r--r--mwe/gameloop/include/loopManager.h1
2 files changed, 6 insertions, 1 deletions
diff --git a/mwe/gameloop/include/eventManager.h b/mwe/gameloop/include/eventManager.h
index 69c6801..ba1ca32 100644
--- a/mwe/gameloop/include/eventManager.h
+++ b/mwe/gameloop/include/eventManager.h
@@ -1 +1,5 @@
-class EventManager {};
+#pragma once
+class EventManager {
+ public:
+ EventManager();
+};
diff --git a/mwe/gameloop/include/loopManager.h b/mwe/gameloop/include/loopManager.h
index e202423..dcbfedc 100644
--- a/mwe/gameloop/include/loopManager.h
+++ b/mwe/gameloop/include/loopManager.h
@@ -2,6 +2,7 @@
#include "gameObject.h"
#include "window.h"
#include <SDL2/SDL.h>
+#include "event.h"
class LoopManager {
public:
LoopManager();