diff options
| author | alf9310 <alf9310@rit.edu> | 2025-11-09 16:43:04 -0500 |
|---|---|---|
| committer | alf9310 <alf9310@rit.edu> | 2025-11-09 16:43:04 -0500 |
| commit | 6266b64d7c7b0862db2b058021b81e7fb316330e (patch) | |
| tree | 94f74baca427773e0cfad42fe1751aa6982b69b8 /dungeon/src/map.rs | |
| parent | graphics: refactor string formatting to use single common scratch buffer (diff) | |
| download | DungeonCrawl-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.rs | 2 |
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 { |