
commonMain.com.bselzer.gw2.v2.tile.model.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 Show documentation
Show all versions of v2-tile Show documentation
Tiling service for Guild Wars 2 map images.
The newest version!
package com.bselzer.gw2.v2.tile.model.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 - 2025 Weber Informatics LLC | Privacy Policy