diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 10:27:42 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 10:27:42 +0100 |
commit | 7d1f3b90a5d640e4ae23d6ff8f0bf1bf35b6e4cb (patch) | |
tree | 0697c269ce96e55c7841344ec426e0e3daa2c864 /src/crepe/api/LoopManager.h | |
parent | 5981ab2262a98b80a1339f86a6b71093576a9b35 (diff) | |
parent | c7c4cc0e3b1a3152256bc8ebf6494c19519538db (diff) |
merge 2 gameloop branches
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r-- | src/crepe/api/LoopManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h index 13e6dac..ff1ff55 100644 --- a/src/crepe/api/LoopManager.h +++ b/src/crepe/api/LoopManager.h @@ -7,7 +7,7 @@ #include "api/SceneManager.h" namespace crepe { - +class LoopTimer; /** * \brief Main game loop manager * @@ -91,6 +91,8 @@ private: SceneManager scene_manager{component_manager}; private: + std::unique_ptr<LoopTimer> loop_timer; + bool on_shutdown(const ShutDownEvent & e); /** * \brief Collection of System instances * |