aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/Mediator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/manager/Mediator.h')
-rw-r--r--src/crepe/manager/Mediator.h6
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