Constructors
-
Move()
-
const
Properties
-
capture
→ bool
-
Whether a piece is captured as a result of this move.
no setter
-
capturedPiece
→ int?
-
The piece (including colour and flags) that is being captured, if one is.
no setter
-
castling
→ bool
-
Whether this is a castling move.
no setter
-
dropPiece
→ int?
-
The piece (type only) that is being dropped, if one is.
no setter
-
enPassant
→ bool
-
If this move is en passant.
no setter
-
from
→ int
-
The board location this move starts at.
no setter
-
gate
→ bool
-
Whether this is a gated drop, e.g. the drops in Seirawan chess.
no setter
-
handDrop
→ bool
-
Whether this is a drop move where the piece came from the hand to an empty
square, e.g. the drops in Crazyhouse.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
promoPiece
→ int?
-
The piece (type only) that is being promoted to.
no setter
-
promotion
→ bool
-
Whether the moved piece is promoted.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
setEnPassant
→ bool
-
If this move sets the en passant flag.
no setter
-
to
→ int
-
The board location this move ends at.
no setter
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited