aboutsummaryrefslogtreecommitdiff
path: root/src/test/ScriptTest.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-07 14:19:16 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-07 14:19:16 +0100
commita73ff31b67faa7e6a922cfb5598f56f80bc01d62 (patch)
tree04840dfbdbe6207100fbbc2aba04f48a46de1022 /src/test/ScriptTest.h
parenta0070890fcdb422db85660fc44bcc709832870b8 (diff)
added loopTimer and eventManager to mediator and removed the singletons
Diffstat (limited to 'src/test/ScriptTest.h')
-rw-r--r--src/test/ScriptTest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ScriptTest.h b/src/test/ScriptTest.h
index 1bbfdd3..ee68c23 100644
--- a/src/test/ScriptTest.h
+++ b/src/test/ScriptTest.h
@@ -7,7 +7,7 @@
#include <crepe/api/Script.h>
#include <crepe/manager/ComponentManager.h>
#include <crepe/system/ScriptSystem.h>
-
+#include <crepe/manager/EventManager.h>
class ScriptTest : public testing::Test {
protected:
crepe::Mediator mediator;
@@ -15,7 +15,7 @@ protected:
public:
crepe::ComponentManager component_manager{mediator};
crepe::ScriptSystem system{mediator};
-
+ crepe::EventManager event_mgr{mediator};
class MyScript : public crepe::Script {
// NOTE: explicitly stating `public:` is not required on actual scripts