Doors are walls

This commit is contained in:
Yohann D'ANELLO 2021-01-10 22:53:27 +01:00
parent e744310861
commit 6c0aaffd77
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

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