From ff627e369f83fdaab8e90016529521b0e07d5e34 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 20 Nov 2025 20:27:50 -0500 Subject: dungeon: add chest usage/textures --- dungeon/src/map.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dungeon/src/map.rs') diff --git a/dungeon/src/map.rs b/dungeon/src/map.rs index ba3e143..f19157b 100644 --- a/dungeon/src/map.rs +++ b/dungeon/src/map.rs @@ -45,7 +45,10 @@ impl Tile { /// Returns if the tile is walkable #[must_use] pub const fn is_walkable(self) -> bool { - matches!(self, Self::Room | Self::Hallway | Self::Stairs) + matches!( + self, + Self::Room | Self::Hallway | Self::Stairs | Self::Chest(_) + ) } /// Returns if the tile is blast resistant -- cgit v1.2.3-freya