King class
- Inheritance
-
- Object
- ChessPiece
- King
Properties
Methods
-
clone(
) → King -
override
-
getIcon(
) → IconData -
override
-
getPossiblePositions(
{List< List< ? board}) → List<ChessPiece?> >Position> -
override
-
isPossiblePosition(
int x, int y, {List< List< ? board}) → boolChessPiece?> > -
inherited
-
isValidPosition(
Position pos, List< List< ? board) → boolChessPiece?> > -
inherited
-
move(
Position movePosition) → ChessPiece -
inherited
-
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