getIfTileExistsOrNull

fun getIfTileExistsOrNull(x: Int, y: Int): TileInfo?

Return

tile at hex coordinates (x,y) or null if they are outside the map. Respects map edges and world wrap.

Sources

jvm source
Link copied to clipboard