getTilesInDistance

fun getTilesInDistance(origin: Vector2, distance: Int): Sequence<TileInfo>

Return

All tiles in a hexagon of radius distance, including the tile at origin and all up to distance steps away. Respects map edges and world wrap.

Sources

jvm source
Link copied to clipboard