Rook mixin

Superclass Constraints
Mixin Applications

Properties

color PieceColor
color of the piece.
no setterinherited
fenSymbol String
Returns FEN symbol for this piece.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isBlack bool
Returns true if this piece is black.
no setterinherited
isWhite bool
Returns true if this piece is white.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type PieceType
type of the piece, e.g. pawn, knight, etc.
no setterinherited

Methods

getPossibleMovesFromSquareOnBoard(Square square, Board board) List<Move>
Returns the list of possible moves with this piece from square, including moves that are illegal in current position.
override
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