Vector2IListIterator

An iterator over a Vector2I collection that supports indexed access.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract operator fun hasNext(): Boolean
Link copied to clipboard
expect abstract fun hasPrevious(): Boolean
Link copied to clipboard
operator override fun next(): Vector2I
Link copied to clipboard
expect abstract fun nextIndex(): Int
Link copied to clipboard
abstract fun nextVector2I(): Vector2I

Returns the next element in the iteration without boxing.

Link copied to clipboard
override fun previous(): Vector2I
Link copied to clipboard
expect abstract fun previousIndex(): Int
Link copied to clipboard
abstract fun previousVector2I(): Vector2I

Returns the previous element in the iteration without boxing, and moves the cursor position backwards.