Rook class
Implentation class for the rooks.
Constructors
Properties
- alreadyMoved ↔ bool
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isWhite ↔ bool
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- userData → UserData
-
finalinherited
Methods
-
color(
) → bool -
inherited
-
getImg(
) → String -
inherited
-
getValue(
) → int -
inherited
-
isEmpty(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
possibleMovements(
int x, int y, List< List< board, bool reversedBoard, List<Piece> >List< lastMovement) → List<int> >List< int> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited