When entering an new room we need to check if it has an entrance or an exit. In the Room class entrances and exits are handled just like other room content so we can check using the check_room_content() method
We also need to create a branch in action choices for exiting the dungeon.
When entering an new room we need to check if it has an entrance or an exit. In the
Room
class entrances and exits are handled just like other room content so we can check using thecheck_room_content()
methodWe also need to create a branch in action choices for exiting the dungeon.