aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/Mediator.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-06 15:42:25 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-06 15:42:25 +0100
commit7ec1fcfcff0c01d204ccbf1bac9919ba610b8606 (patch)
treecd48865b6af69a0d71a70a720b843b4b681f53bb /src/crepe/manager/Mediator.h
parent3fbe1a5c72e7512a330111665482a5babf21cc15 (diff)
implemented final max feedback
Diffstat (limited to 'src/crepe/manager/Mediator.h')
-rw-r--r--src/crepe/manager/Mediator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/manager/Mediator.h b/src/crepe/manager/Mediator.h
index 71bd1c9..5b53bcc 100644
--- a/src/crepe/manager/Mediator.h
+++ b/src/crepe/manager/Mediator.h
@@ -5,6 +5,7 @@
// TODO: remove these singletons:
#include "EventManager.h"
#include "SaveManager.h"
+#include "../facade/SDLContext.h"
namespace crepe {
@@ -28,6 +29,7 @@ struct Mediator {
OptionalRef<SceneManager> scene_manager;
OptionalRef<SaveManager> save_manager = SaveManager::get_instance();
OptionalRef<EventManager> event_manager = EventManager::get_instance();
+ OptionalRef<SDLContext> sdl_context = SDLContext::get_instance();
};
} // namespace crepe