Tile

inline class Tile(val raw: Int53)

Constructors

Link copied to clipboard
constructor(raw: Int53)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val data: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extension property to get the SliceOrientation of the Tile.

Link copied to clipboard
val raw: Int53
Link copied to clipboard
Link copied to clipboard
val rawLow: Int
Link copied to clipboard
Link copied to clipboard
val tile: Int

Functions

Link copied to clipboard

Returns a new Tile that is flipped horizontally.

Link copied to clipboard

Returns a new Tile that is flipped vertically.

Link copied to clipboard
fun Tile.rotatedLeft(offset: Int = 1): Tile

Returns a new Tile that is rotated to the left by the specified offset.

Link copied to clipboard
fun Tile.rotatedRight(offset: Int = 1): Tile

Returns a new Tile that is rotated to the right by the specified offset.

Link copied to clipboard

Converts the Tile to a string representation.

Link copied to clipboard
Link copied to clipboard

Returns a new Tile with the specified orientation.