Address

data class Address(val row: Int, val column: Int)

The index structure for Grid.

Constructors

Link copied to clipboard
constructor(row: Int, column: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val column: Int
Link copied to clipboard
val row: Int

Functions

Link copied to clipboard
fun Grid.Address.isAt(row: Int, column: Int): Boolean

Convenience to concisely check an Address against individual indices.

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