Xiangqi class
Xiangqi / Cờ Tướng / Chinese Chess defintions. All rules are implemented and working, except for chasing restrictions.
Constructors
- Xiangqi()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
advisor(
) → PieceType -
cannon(
) → PieceType -
chariot(
) → PieceType -
elephant(
) → PieceType -
general(
) → PieceType -
horse(
) → PieceType -
manchu(
) → Variant -
manchuSuperPiece(
) → PieceType -
mini(
) → Variant -
palaceMovement(
) → RegionEffect -
sideMovement(
) → RegionEffect -
soldier(
) → PieceType -
strongSoldier(
) → PieceType -
variant(
) → Variant -
weakSoldier(
) → PieceType -
xiangqi(
) → Variant
Constants
- defaultFen → const String
- defaultFenManchu → const String
- defaultFenMini → const String