Tile

Tile:

Contais the definition the tile type.

YAML Key:

Tile

Example:

Plain:
    Sprite: ../../assets/Tiles/plain.png
    Symbol: .
    IsWalkable: true
    DefaultTile: true
Properties:

Property

Required

Data type

Options

Definition

Sprite

true

string

Path to the sprited used in to render the tile in the GUI mode.

Symbol

true

char

Symbol used to parse the map board.

IsWalkable

true

bool

true/false

Mark the tile type as walkable.

DefaultTile

true

int

Mark the tile type as the default tile. Used to generate the default tile under the tiles defined in the board.