diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-07 15:21:54 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-07 15:21:54 +0100 |
commit | 0f2451f4d48c78426c2663501e6cdd6871f1e94a (patch) | |
tree | 5015832f112093ec9fcefcb22800657ea28e064c /src/crepe/manager/Mediator.h | |
parent | f05458cdbf68e8efe1ed812f57e957921921941d (diff) | |
parent | fdb4c99e139a264d4e15e6913a3756fc6cccb2f2 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/gameloop
Diffstat (limited to 'src/crepe/manager/Mediator.h')
-rw-r--r-- | src/crepe/manager/Mediator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crepe/manager/Mediator.h b/src/crepe/manager/Mediator.h index c72af8e..987f4d4 100644 --- a/src/crepe/manager/Mediator.h +++ b/src/crepe/manager/Mediator.h @@ -3,7 +3,10 @@ #include "../util/OptionalRef.h" // TODO: remove these singletons: +#include "../facade/SDLContext.h" +//#include "EventManager.h" #include "SaveManager.h" +//#include "LoopTimerManager.h" namespace crepe { @@ -26,9 +29,10 @@ class EventManager; struct Mediator { OptionalRef<ComponentManager> component_manager; OptionalRef<SceneManager> scene_manager; - OptionalRef<SaveManager> save_manager = SaveManager::get_instance(); OptionalRef<EventManager> event_manager; OptionalRef<LoopTimerManager> loop_timer; + OptionalRef<SaveManager> save_manager = SaveManager::get_instance(); + OptionalRef<SDLContext> sdl_context = SDLContext::get_instance(); }; } // namespace crepe |