set

operator fun set(address: Grid.Address, state: Grid.State)

The Address-indexed set operator for MutableGrid.

This is direct assignment, and it will result in Exceptions for invalid addresses. See isValidAddress.


operator fun set(row: Int, column: Int, state: Grid.State)

The Int-indexed set operator for MutableGrid.

This is direct assignment, and it will result in Exceptions for invalid addresses. See isValidAddress.