aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-18 16:55:21 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-18 16:55:21 +0100
commit92e83ded2b6afb26082d7661c28af1d9d4e950a2 (patch)
treef03fe4f0f19efb4a96d79615d98e2af501550f00 /src/crepe/api/LoopManager.h
parent0e8fcca228e4a55c9553afc5dfed3a38f4c53a91 (diff)
added mouse and key event triggering
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r--src/crepe/api/LoopManager.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h
index f6904be..b18c9d1 100644
--- a/src/crepe/api/LoopManager.h
+++ b/src/crepe/api/LoopManager.h
@@ -10,6 +10,12 @@ namespace crepe {
class LoopManager {
public:
void start();
+ /**
+ * \brief Set game running variable
+ *
+ * \param running running (false = game shutdown, true = game running)
+ */
+ void set_running(bool running);
LoopManager();
private:
@@ -53,12 +59,7 @@ private:
* This function updates physics and game logic based on LoopTimer's fixed_delta_time.
*/
void fixed_update();
- /**
- * \brief Set game running variable
- *
- * \param running running (false = game shutdown, true = game running)
- */
- void set_running(bool running);
+
/**
* \brief Function for executing render-related systems.
*