points

fun points(): Sequence<Pair<Vector2, Any?>>(source)

Generates a sequence of all points stored within the grid.

Iterates through each cell in the grid's cells map, yielding all points contained within each cell.

Return

A sequence of points from all cells in the grid.