diff options
Diffstat (limited to 'src/game/generation_tracker.cpp')
-rw-r--r-- | src/game/generation_tracker.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/generation_tracker.cpp b/src/game/generation_tracker.cpp index 0a7a923..15b4ce4 100644 --- a/src/game/generation_tracker.cpp +++ b/src/game/generation_tracker.cpp @@ -7,6 +7,11 @@ auto GenerationTracker::get_current_generation() const noexcept -> uint32_t return _current_generation; } +void GenerationTracker::set_current_generation(uint32_t current_generation) noexcept +{ + _current_generation = current_generation; +} + auto GenerationTracker::get_is_paused() const noexcept -> bool { return _is_paused; |