diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 16:38:15 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 16:38:15 +0100 |
commit | 5a43793e247fbffec590d334b89cc34d19049f45 (patch) | |
tree | 9447beee8ac21e4343927c595da4890c23223164 /src/crepe/api/LoopManager.h | |
parent | 1e72559664cb7cc68c1c404f1709d679d35a66e2 (diff) |
gameloop tests
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r-- | src/crepe/api/LoopManager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h index ff1ff55..3bf54b9 100644 --- a/src/crepe/api/LoopManager.h +++ b/src/crepe/api/LoopManager.h @@ -5,9 +5,10 @@ #include "../ComponentManager.h" #include "../system/System.h" #include "api/SceneManager.h" +#include "api/Event.h" +#include "api/LoopTimer.h" namespace crepe { -class LoopTimer; /** * \brief Main game loop manager * @@ -91,7 +92,9 @@ private: SceneManager scene_manager{component_manager}; private: + //! loop timer instance std::unique_ptr<LoopTimer> loop_timer; + //! callback function for shutdown event bool on_shutdown(const ShutDownEvent & e); /** * \brief Collection of System instances |