aboutsummaryrefslogtreecommitdiff
path: root/src/engine/engine.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-22 21:31:44 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:59 +0200
commitc05b299e016ea55fa21538e6bee1e913221a650d (patch)
tree0e0ba42dca81bf64726f5fb78c701f7d7552219e /src/engine/engine.hpp
parent7041e81abbdae6b895bda149e5369e0d52dce6ee (diff)
feat: add update speed limit
Diffstat (limited to 'src/engine/engine.hpp')
-rw-r--r--src/engine/engine.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/engine.hpp b/src/engine/engine.hpp
index 7b322b5..1e8a217 100644
--- a/src/engine/engine.hpp
+++ b/src/engine/engine.hpp
@@ -12,6 +12,8 @@
#include <memory>
#include <unordered_map>
+constexpr auto MIN_TIME_SINCE_LAST_UPDATE_MILLIS = 100;
+
class CLIGameEngine : public ICLIGameEngine,
public yacppdic::AutoWirable<
ICLIGameEngine,