Skip to content

Commit

Permalink
Update player.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rewin123 committed Dec 10, 2023
1 parent a899f79 commit 72ffe87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DOG_PATH: &str = "test/dog.png";
pub const DOG_SPEED: f32 = 45.0 * 1000.0 / 3600.0; // Sheepdog accepts 35 km/h in reality (but fastest dog can do 67 km/h o.0)
pub const DOG_ACCELERATION: f32 = DOG_SPEED * 4.0;

pub const RUN_K: f32 = 1.5;
pub const RUN_K: f32 = 2.0;
pub const STAMINA_INCREASE: f32 = 1.0 / 2.5;
pub const STAMINA_DECREASE: f32 = 1.0 / 5.0 + STAMINA_INCREASE;

Expand Down

0 comments on commit 72ffe87

Please sign in to comment.