Bases: Rect.Rect
Room in dungeon. Once instantiated, it is filled with Tile.
The road id on east side. If not exist, None.
Get a door from Room.
Parameters: |
|
---|---|
Return type: | Door class. |
Returns: | Return door. if it does not exist, return None. |
Get a tile from Room.
Parameters: |
|
---|---|
Return type: | Tile class. |
Returns: | Return tile. if it does not exist, return None. |
Get a wall from Room.
Parameters: |
|
---|---|
Return type: | Tile class. |
Returns: | Return tile. if it does not exist, return None. |
Whether holds the door.
Parameters: |
|
---|---|
Return type: | Booean |
Returns: | Return True, if holds the tile. Otherwise Fasle. |
Whther the at least one of the road, or not.
Whether holds the tile.
Parameters: |
|
---|---|
Return type: | Booean |
Returns: | Return True, if holds the tile. Otherwise Fasle. |
The road id on north side. If not exist, None.
Set a tile to Room.
Parameters: |
|
---|
The road id on south side. If not exist, None.
The road id on west side. If not exist, None.