aboutsummaryrefslogtreecommitdiff
path: root/src/game/generation_tracker.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-23 19:08:02 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:59 +0200
commitc9297a82291882e4043ae5e0de2e631940e96b52 (patch)
tree77caa40174ebef3b77ff81a404930d18e8ac46ef /src/game/generation_tracker.hpp
parent18e1db1fb8692752f64d3912c3b5ff1818be9028 (diff)
feat: add incrementing generation
Diffstat (limited to 'src/game/generation_tracker.hpp')
-rw-r--r--src/game/generation_tracker.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/generation_tracker.hpp b/src/game/generation_tracker.hpp
index bd15a3e..1a83d71 100644
--- a/src/game/generation_tracker.hpp
+++ b/src/game/generation_tracker.hpp
@@ -11,6 +11,8 @@ public:
[[nodiscard]] auto get_current_generation() const noexcept -> uint32_t override;
+ void set_current_generation(uint32_t current_generation) noexcept override;
+
[[nodiscard]] auto get_is_paused() const noexcept -> bool override;
void set_is_paused(bool is_paused) noexcept override;