summaryrefslogtreecommitdiff
path: root/src/game.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-08-30 11:00:04 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-09-06 17:19:09 -0400
commitea218cad0ee862964e12bb7f15d442acb7de6c43 (patch)
treef9c15c073e2a60e957d6d6b74f5f991a28b222a9 /src/game.hpp
parent2bdb644e2f4f821a367713ad951369013be8b611 (diff)
first pass add ecs
Diffstat (limited to 'src/game.hpp')
-rw-r--r--src/game.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.hpp b/src/game.hpp
index 4ab021b..fad551b 100644
--- a/src/game.hpp
+++ b/src/game.hpp
@@ -4,6 +4,8 @@
#include <chrono>
#include <cstdint>
+#include "ecs.hpp"
+
using GameTimeDuration = std::chrono::duration<int64_t, std::nano>;
using GameTimePoint = std::chrono::steady_clock::time_point;
#define NANO_DENOM std::chrono::nanoseconds::period::den
@@ -21,4 +23,6 @@ struct GameSettings {
extern GameSettings pkeSettings;
+void GameTick(double delta);
+
#endif /* PKE_GAME_HPP */