diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-22 21:32:16 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | b1183c712d94d38f75068bd62df006f73bd3550f (patch) | |
tree | b940c2277bb21d358dd1dcfeb5d1e7cfb5cb3cdc /src/game/game.hpp | |
parent | c05b299e016ea55fa21538e6bee1e913221a650d (diff) |
feat: add update speed monitoring
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 1546a9c..fb2ad63 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -7,6 +7,7 @@ #include "interfaces/status_manager.hpp" #include "interfaces/statusline_subscriber_adapter.hpp" +#include <chrono> #include <memory> class Game : public IGame @@ -36,4 +37,6 @@ private: std::shared_ptr<IStatusManager> _status_manager; IStatusLineSubscriberAdapterFactory<Vector2> _vector2_statusline_subscriber_adapter_factory; + + std::chrono::system_clock::time_point _last_update_time; }; |