diff options
author | Aki <please@ignore.pl> | 2022-03-07 23:56:54 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-07 23:57:49 +0100 |
commit | f725e598935860d15099a0310a3aef7197a58e9c (patch) | |
tree | ab227ca1318c4a79abdc5ba749724e158869aa46 /Stars45/Clock.h | |
parent | a80a4f25fe4f7b235443c87ff840e5e06a41290e (diff) | |
download | starshatter-f725e598935860d15099a0310a3aef7197a58e9c.zip starshatter-f725e598935860d15099a0310a3aef7197a58e9c.tar.gz starshatter-f725e598935860d15099a0310a3aef7197a58e9c.tar.bz2 |
Replaced old integrated clock with new one
The interface remains unchanged for now, but changing to use GetClock
or similar method to get clock owned by the Game instance is preferred.
Diffstat (limited to 'Stars45/Clock.h')
-rw-r--r-- | Stars45/Clock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Stars45/Clock.h b/Stars45/Clock.h index e2ddcb0..d7b41a7 100644 --- a/Stars45/Clock.h +++ b/Stars45/Clock.h @@ -20,8 +20,9 @@ public: Clock(); void Set(); - void Reset(); double Step(); + void ResetGameTime(); + void SkipGameTime(double seconds); double Delta() const; double GuiDelta() const; |