summaryrefslogtreecommitdiff
path: root/dungeon/src
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-15 19:36:22 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-15 19:36:22 -0500
commit06f66649967a09cb76f5d4efd1e41b7eaf67ed5b (patch)
tree85f0de793bd30894ad77dd29d708a7119e0c3a4b /dungeon/src
parentgraphics: add astar paths to debug rendering (diff)
downloadDungeonCrawl-06f66649967a09cb76f5d4efd1e41b7eaf67ed5b.tar.gz
DungeonCrawl-06f66649967a09cb76f5d4efd1e41b7eaf67ed5b.tar.bz2
DungeonCrawl-06f66649967a09cb76f5d4efd1e41b7eaf67ed5b.zip
zombie texture
Diffstat (limited to 'dungeon/src')
-rw-r--r--dungeon/src/entity.rs6
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,
}
}
}