summaryrefslogtreecommitdiff
path: root/dungeon/src/map.rs
diff options
context:
space:
mode:
authoralf9310 <alf9310@rit.edu>2025-11-06 12:20:57 -0500
committeralf9310 <alf9310@rit.edu>2025-11-06 12:20:57 -0500
commit763b047c92a5d5340bad38506862ad6c87ecdbe9 (patch)
tree68b391d3745458005eade3c07ac9e41655376d5c /dungeon/src/map.rs
parentMoved most of the movement stuff to entity. (diff)
downloadDungeonCrawl-763b047c92a5d5340bad38506862ad6c87ecdbe9.tar.gz
DungeonCrawl-763b047c92a5d5340bad38506862ad6c87ecdbe9.tar.bz2
DungeonCrawl-763b047c92a5d5340bad38506862ad6c87ecdbe9.zip
Light bsp refactoring
Diffstat (limited to 'dungeon/src/map.rs')
-rw-r--r--dungeon/src/map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dungeon/src/map.rs b/dungeon/src/map.rs
index 212dd00..f4a8729 100644
--- a/dungeon/src/map.rs
+++ b/dungeon/src/map.rs
@@ -52,7 +52,7 @@ impl Default for Tile {
/// The `Floor` type represents the current playing
/// grid of the dungeon. It contains the tiles of the
/// grid, and the starting position of the player.
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Floor {
/// The dungeon grid
tiles: Box<[Tile; TILE_COUNT]>,