diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-21 17:58:21 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-21 17:58:21 +0100 |
commit | 0d47738a508ce3e4de943865217a7c54dedee82c (patch) | |
tree | 1dfde0fad4ceecf38c08659efc2c9aa82f40d93e /src/critter.hpp | |
parent | fecef610262aaa492f25e764737f10911401be90 (diff) |
a
Diffstat (limited to 'src/critter.hpp')
-rw-r--r-- | src/critter.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/critter.hpp b/src/critter.hpp index f3d7a316..1148b82b 100644 --- a/src/critter.hpp +++ b/src/critter.hpp @@ -23,6 +23,9 @@ struct critter_proto : object_proto struct critter final : object { + static constexpr double framerate = 60, move_speed = 60; + static constexpr double frame_time = 1/framerate; + object_type type() const noexcept override; explicit operator critter_proto() const; |