GridRoomMapBuilder

class GridRoomMapBuilder(lockedExit: Char = 'x', itemOrCharacterInRoom: Char = '?', verticalBoundary: Char = '|', horizontalBoundary: Char = '-', verticalExitBorder: Char = '|', horizontalExitBorder: Char = '-', corner: Char = '+', keyPadding: Int = 6)

Provides a Room map builder.

Constructors

Link copied to clipboard
constructor(lockedExit: Char = 'x', itemOrCharacterInRoom: Char = '?', verticalBoundary: Char = '|', horizontalBoundary: Char = '-', verticalExitBorder: Char = '|', horizontalExitBorder: Char = '-', corner: Char = '+', keyPadding: Int = 6)

Functions

Link copied to clipboard
fun build(gridStringBuilder: GridStringBuilder, room: Room, viewPoint: ViewPoint, keyType: KeyType, startX: Int, startY: Int): FramePosition

Build a map of a Room on a gridStringBuilder with a room and a viewPoint, with a startX and startY position. Return the end FramePosition.