Tile
fun Tile(tile: Int, orientation: SliceOrientation = SliceOrientation.NORMAL, offsetX: Int = 0, offsetY: Int = 0): Tile
Creates a Tile with the specified tile number, orientation, offsetX, and offsetY.
Return
A new Tile with the specified properties.
Parameters
tile
The tile number.
orientation
The orientation of the tile. Defaults to SliceOrientation.NORMAL.
offsetX
The X offset of the tile. Defaults to 0.
offsetY
The Y offset of the tile. Defaults to 0.