rotatedRight

fun Tile.rotatedRight(offset: Int = 1): Tile

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

Return

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

Parameters

offset

The number of 90-degree rotations to the right. Defaults to 1.