aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 19:22:24 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 19:22:24 +0100
commit1d303f3a506dc7b6f68edb4af0a2043c4c53ab1e (patch)
tree6881feac4996da15834e85fb56ea3f9d84285189 /src/crepe/api/LoopManager.h
parent37f352c20cdf3c972ad99b076bb091f698132312 (diff)
parent30c17c98e54c1534664de08ca3838c40c859d166 (diff)
mege with master
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r--src/crepe/api/LoopManager.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h
index 487f07a..50d91d2 100644
--- a/src/crepe/api/LoopManager.h
+++ b/src/crepe/api/LoopManager.h
@@ -12,7 +12,7 @@
#include "../manager/SceneManager.h"
#include "../system/System.h"
-#include "api/Event.h"
+#include "LoopTimer.h"
namespace crepe {
/**
@@ -86,9 +86,8 @@ private:
ResourceManager resource_manager{mediator};
//! Save manager instance
SaveManager save_manager{mediator};
-
- //! SDL context \todo no more singletons!
- SDLContext & sdl_context = SDLContext::get_instance();
+ //! SDLContext instance
+ SDLContext sdl_context{mediator};
private:
/**