aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-10 20:26:18 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-10 20:26:18 +0100
commitc45b60941b82dec2097d958b396a117b1634eada (patch)
treee69f16284a92c5a241414c8931419df42913c03c
parent8ed0c3f425b02d4f064c455270288a6c4a359109 (diff)
add SaveManager to LoopManager
-rw-r--r--src/crepe/api/LoopManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h
index 0947f94..33a61a3 100644
--- a/src/crepe/api/LoopManager.h
+++ b/src/crepe/api/LoopManager.h
@@ -6,6 +6,7 @@
#include "../manager/ComponentManager.h"
#include "../manager/ResourceManager.h"
#include "../manager/SceneManager.h"
+#include "../manager/SaveManager.h"
#include "../system/System.h"
#include "LoopTimer.h"
@@ -98,6 +99,8 @@ private:
SceneManager scene_manager{mediator};
//! Resource manager instance
ResourceManager resource_manager{mediator};
+ //! Save manager instance
+ SaveManager save_manager{mediator};
//! SDL context \todo no more singletons!
SDLContext & sdl_context = SDLContext::get_instance();