diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-23 14:21:25 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:32:37 +0200 |
commit | 70a6107085d921a3020d2037a09abdaa40970722 (patch) | |
tree | 052a1e784f87ce2cab77230b674e3871da5a5f79 /server/src/customer/movement.rs | |
parent | 78696ae1a7a31b597984aa783253c1b00a043291 (diff) | |
download | hurrycurry-70a6107085d921a3020d2037a09abdaa40970722.tar hurrycurry-70a6107085d921a3020d2037a09abdaa40970722.tar.bz2 hurrycurry-70a6107085d921a3020d2037a09abdaa40970722.tar.zst |
cant move too quickly
Diffstat (limited to 'server/src/customer/movement.rs')
-rw-r--r-- | server/src/customer/movement.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs index 6a70a44f..a4b039e2 100644 --- a/server/src/customer/movement.rs +++ b/server/src/customer/movement.rs @@ -4,6 +4,7 @@ use std::collections::HashSet; const PLAYER_SIZE: f32 = 0.4; const PLAYER_SPEED: f32 = 25.; +pub const PLAYER_SPEED_LIMIT: f32 = 8.; pub struct MovementBase { pub position: Vec2, |