summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 3cf2109..cfb6d7c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -3,3 +3,10 @@
GameSettings pkeSettings{};
+void GameTick(double delta) {
+ /*
+ * ECS_Tick() gets called first because it updates the public
+ * `EntitiesToBeRemoved` for all other ticks to use.
+ */
+ ECS_Tick(delta);
+}