diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-15 19:36:22 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-15 19:36:22 -0500 |
| commit | 06f66649967a09cb76f5d4efd1e41b7eaf67ed5b (patch) | |
| tree | 85f0de793bd30894ad77dd29d708a7119e0c3a4b /dungeon | |
| parent | graphics: add astar paths to debug rendering (diff) | |
| download | DungeonCrawl-06f66649967a09cb76f5d4efd1e41b7eaf67ed5b.tar.gz DungeonCrawl-06f66649967a09cb76f5d4efd1e41b7eaf67ed5b.tar.bz2 DungeonCrawl-06f66649967a09cb76f5d4efd1e41b7eaf67ed5b.zip | |
zombie texture
Diffstat (limited to 'dungeon')
| -rw-r--r-- | dungeon/src/entity.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dungeon/src/entity.rs b/dungeon/src/entity.rs index 7c16418..ced7656 100644 --- a/dungeon/src/entity.rs +++ b/dungeon/src/entity.rs @@ -55,9 +55,9 @@ impl EntityKind { /// Returns the move speed value for this type of entity in tiles/s pub const fn move_speed(&self) -> f32 { match &self { - Self::Player => 5., - Self::Zombie(_) => 4., - _ => 0., + Self::Player => 3.5, + Self::Zombie(_) => 2.0, + _ => 0.0, } } } |