From b1183c712d94d38f75068bd62df006f73bd3550f Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 22 May 2022 21:32:16 +0200 Subject: feat: add update speed monitoring --- src/game/game.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/game.hpp') 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 #include class Game : public IGame @@ -36,4 +37,6 @@ private: std::shared_ptr _status_manager; IStatusLineSubscriberAdapterFactory _vector2_statusline_subscriber_adapter_factory; + + std::chrono::system_clock::time_point _last_update_time; }; -- cgit v1.2.3-18-g5258