summaryrefslogtreecommitdiff
path: root/game/worldobject.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 13:11:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 13:11:32 +0000
commit8592dedeef12f1a0ebbdf0692984e04ffc216c98 (patch)
tree276aa994852424345f88cd10a25b1eca100c594d /game/worldobject.h
parentMove stream operators into ns std, add support for Arc (diff)
downloadilt-8592dedeef12f1a0ebbdf0692984e04ffc216c98.tar.bz2
ilt-8592dedeef12f1a0ebbdf0692984e04ffc216c98.tar.xz
ilt-8592dedeef12f1a0ebbdf0692984e04ffc216c98.zip
Floating point seconds TickDuration
Diffstat (limited to 'game/worldobject.h')
-rw-r--r--game/worldobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/worldobject.h b/game/worldobject.h
index 6c75b8a..db69532 100644
--- a/game/worldobject.h
+++ b/game/worldobject.h
@@ -6,7 +6,7 @@
class WorldObject {
public:
- using TickDuration = std::chrono::milliseconds;
+ using TickDuration = std::chrono::duration<float, std::chrono::seconds::period>;
WorldObject() = default;
virtual ~WorldObject() = default;