diff options
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 955269c..75fb165 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -33,7 +33,12 @@ private: std::shared_ptr<IStatusManager> _status_manager; std::shared_ptr<IUserInputObserver> _user_input_observer; - std::chrono::system_clock::time_point _last_update_time; + using TimePoint = std::chrono::system_clock::time_point; + + TimePoint _last_update_time; + TimePoint _last_gen_update_time; + + int _gen_update_speed_millis; void _move_cursor(const Vector2 &direction) noexcept; }; |