hasUnlockedExitInDirection

fun hasUnlockedExitInDirection(direction: Direction, includeInvisibleExits: Boolean = false): Boolean

Get if this Room has an unlocked Exit in a specified direction. If includeInvisibleExits is true then exits that aren't visible to the player are included.