summaryrefslogtreecommitdiff
path: root/dungeon/src/map.rs
diff options
context:
space:
mode:
authoralf9310 <alf9310@rit.edu>2025-11-09 16:43:04 -0500
committeralf9310 <alf9310@rit.edu>2025-11-09 16:43:04 -0500
commit6266b64d7c7b0862db2b058021b81e7fb316330e (patch)
tree94f74baca427773e0cfad42fe1751aa6982b69b8 /dungeon/src/map.rs
parentgraphics: refactor string formatting to use single common scratch buffer (diff)
downloadDungeonCrawl-6266b64d7c7b0862db2b058021b81e7fb316330e.tar.gz
DungeonCrawl-6266b64d7c7b0862db2b058021b81e7fb316330e.tar.bz2
DungeonCrawl-6266b64d7c7b0862db2b058021b81e7fb316330e.zip
dungeon_generation: variables changed from usize to u16 for pos compatability
Diffstat (limited to 'dungeon/src/map.rs')
-rw-r--r--dungeon/src/map.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/dungeon/src/map.rs b/dungeon/src/map.rs
index eda467c..9e43faf 100644
--- a/dungeon/src/map.rs
+++ b/dungeon/src/map.rs
@@ -43,6 +43,8 @@ impl Tile {
pub fn is_wall(self) -> bool {
self == Self::Wall
}
+
+ // Index by u16
}
impl Default for Tile {
fn default() -> Self {