CellsModifier<CellDataType extends SwayzeCellData> class

A interface to map changes in the cell state ina specific state update.

It is accessible trough the callback passed to SwayzeCellsController.updateState.

Updates made here are not immediately applied to the matrix, instead, they are made after the execution of the callback passed to SwayzeCellsController.updateState.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addOperation(CellOperation<CellDataType> operation) → void
Explicitly add a CellOperation. Useful if you want to subclass and create your own operations.
deleteCell(IntVector2 position) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putCell(CellDataType cellData) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited