State class

Constructors

State(Move move, ColorMap<int> kings, Color turn, ColorMap<int> castling, int epSquare, int halfMoves, int moveNumber)
const

Properties

castling ColorMap<int>
final
epSquare int
final
halfMoves int
final
hashCode int
The hash code for this object.
no setterinherited
kings ColorMap<int>
final
move Move
final
moveNumber int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
turn Color
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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