getTilesInDistanceRange

fun getTilesInDistanceRange(origin: Vector2, range: IntRange): Sequence<TileInfo>

Return

All tiles in a hexagonal ring around origin with the distances in range. Excludes the origin tile unless range starts at 0. Respects map edges and world wrap.

Sources

jvm source
Link copied to clipboard