CoordinateMatrix

Represents a matrix of coordinates.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val coordinates: Set<Coordinate>

Gets all the coordinates in this matrix.

Link copied to clipboard
abstract val dimension: Dimension

The dimension of the matrix.

Link copied to clipboard
abstract val start: Coordinate

Gets the starting coordinate of this matrix.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator override fun iterator(): Iterator<Coordinate>
Link copied to clipboard

Maps all the given coordinates to LevelObjects with the given block.

Link copied to clipboard
abstract override fun toString(): String

Gets the string version of this coordinate matrix.