Doors are walls
This commit is contained in:
parent
e744310861
commit
6c0aaffd77
@ -431,7 +431,7 @@ class Tile(Enum):
|
||||
"""
|
||||
Is this Tile a wall?
|
||||
"""
|
||||
return self == Tile.WALL
|
||||
return self == Tile.WALL or self == Tile.DOOR
|
||||
|
||||
def is_ladder(self) -> bool:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user