All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.gw2.v2.model.tile.position.GridPosition.kt Maven / Gradle / Ivy

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