diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-10 15:19:17 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-10 15:19:17 +0100 |
commit | fe865eef33eb78b6dab6a177b463554f2ffe7387 (patch) | |
tree | d02897d1ab304e4b4dfadac659afe7cd98530366 | |
parent | 55f245cb5cbd1cba54e0dc5f0cbceaf3f526c8b1 (diff) |
add ResourceManager to LoopManager
-rw-r--r-- | src/crepe/api/LoopManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h index d8910a0..0947f94 100644 --- a/src/crepe/api/LoopManager.h +++ b/src/crepe/api/LoopManager.h @@ -4,6 +4,7 @@ #include "../facade/SDLContext.h" #include "../manager/ComponentManager.h" +#include "../manager/ResourceManager.h" #include "../manager/SceneManager.h" #include "../system/System.h" @@ -95,6 +96,8 @@ private: ComponentManager component_manager{mediator}; //! Scene manager instance SceneManager scene_manager{mediator}; + //! Resource manager instance + ResourceManager resource_manager{mediator}; //! SDL context \todo no more singletons! SDLContext & sdl_context = SDLContext::get_instance(); |