Doors are walls

This commit is contained in:
Yohann D'ANELLO
2021-01-10 22:53:27 +01:00
parent e744310861
commit 6c0aaffd77

View File

@ -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:
"""