aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-04 10:26:32 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-04 10:26:32 +0100
commitc7c4cc0e3b1a3152256bc8ebf6494c19519538db (patch)
tree9c7a2201d94c8a51bb93de7cea45a9f14e2da5ea /src/crepe/api/LoopManager.h
parentf137451d0edb13543919cf2d1a3af379cb3a1485 (diff)
looptimer no singleton
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r--src/crepe/api/LoopManager.h4
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
*