WorldPosition

data class WorldPosition(val world: String, val x: Int, val y: Int)

Constructors

Link copied to clipboard
constructor(world: String, x: Int, y: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val x: Int
Link copied to clipboard
val y: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun isSameAxis(other: WorldPosition, allowedAxis: Set<Pair<Int, Int>>): Boolean