getTilesInRectangle

fun getTilesInRectangle(rectangle: Rectangle, evenQ: Boolean = false): Sequence<TileInfo>

Return

all tiles within rectangle, respecting world edges and wrap. If using even Q coordinates the rectangle will be "straight" ie parallel with rectangular map edges.

Sources

jvm source
Link copied to clipboard