getOrNull

private fun getOrNull(x: Int, y: Int): TileInfo?

Return

tile at hex coordinates (x,y) or null if they are outside the map. Does not respect world wrap, use getIfTileExistsOrNull for that.

Sources

jvm source
Link copied to clipboard