commonMain.com.bselzer.gw2.v2.model.tile.position.GridPosition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-tile-model Show documentation
Show all versions of v2-tile-model Show documentation
Tiling service models for Guild Wars 2 map images.
The newest version!
package com.bselzer.gw2.v2.model.tile.position
import kotlinx.serialization.Serializable
/**
* The relative position within the grid.
*/
@Serializable
data class GridPosition(
/**
* The column.
*/
val x: Int = 0,
/**
* The row.
*/
val y: Int = 0
) {
override fun toString(): String = "[$x,$y]"
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy