diff options
author | Aki <please@ignore.pl> | 2023-02-11 00:54:15 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-02-11 00:54:15 +0100 |
commit | f9269a45b82f637173e30760e1f4febc7ccb2b3e (patch) | |
tree | 8077af07826bedf693aac744de15b6b5b4c87ab3 /engine/include | |
parent | 29e18d3d2918f7b1668c2bfb7d708c60aceea4bf (diff) | |
download | kurator-f9269a45b82f637173e30760e1f4febc7ccb2b3e.zip kurator-f9269a45b82f637173e30760e1f4febc7ccb2b3e.tar.gz kurator-f9269a45b82f637173e30760e1f4febc7ccb2b3e.tar.bz2 |
Clock now tracks seconds since creation
Diffstat (limited to 'engine/include')
-rw-r--r-- | engine/include/kurator/engine/Clock.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engine/include/kurator/engine/Clock.h b/engine/include/kurator/engine/Clock.h index 4e5e7b1..6b66ab3 100644 --- a/engine/include/kurator/engine/Clock.h +++ b/engine/include/kurator/engine/Clock.h @@ -9,10 +9,12 @@ namespace engine struct Clock { + Clock(); + void update(); + float dt; + float ui; + float game = 0.0f; float time_factor = 1.0f; - float dt() const; - float ui() const; - operator float() const; }; |