aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r--src/crepe/api/LoopManager.h5
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