diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-28 11:49:12 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-28 11:53:53 +0100 |
commit | ebef6441620712b9c82b7cbcae5ae87953b5e10f (patch) | |
tree | 213a3b767d44641b708a304c2d8c7f14b55382db /src | |
parent | aaed493a1f69740d8d52d658cc2ed4ab41d9b379 (diff) |
adjust critter move speed
Diffstat (limited to 'src')
-rw-r--r-- | src/critter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/critter.cpp b/src/critter.cpp index 6dab08d3..02e329c4 100644 --- a/src/critter.cpp +++ b/src/critter.cpp @@ -15,7 +15,7 @@ namespace floormat { namespace { -constexpr double framerate = 60, move_speed = 150; +constexpr double framerate = 60, move_speed = 60; constexpr double frame_time = 1/framerate; constexpr auto arrows_to_dir(bool left, bool right, bool up, bool down) |