diff options
author | tom barrett <spalf0@gmail.com> | 2019-07-02 10:17:19 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2019-07-02 10:17:19 -0500 |
commit | 976ad40137cf468eda32b1d947c524bfaeeaa7da (patch) | |
tree | f27dfa9da31903b73e14a0572cf738b4b62dcf4b /src/constants.rs | |
parent | 6bf9e96140c91340d6ae643b6e0896aa734d8605 (diff) |
cargo updated
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs index c154066..8767bb0 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -3,6 +3,9 @@ pub const TILE_HEIGHT: f32 = 16.0; pub const TILE_SCALE: f32 = 3.0; pub const PLAYER_SPEED: f32 = 5.0; +pub const ENTITY_SPEED: f32 = 2.5; +pub const WANDER_DISTANCE: f32 = 150.0; +pub const GOAL_DISTANCE: f32 = 6.0; pub const FLIP_HORIZONTAL_FLAG: usize = 0x8000_0000; pub const FLIP_VERTICAL_FLAG: usize = 0x4000_0000; |