ChessPos class
Chess coordinate in a game board
Constructors
- ChessPos.new(int x, int y)
- constructor pos by x and y
- ChessPos.fromCode(String code)
- constructor from a code position
- ChessPos.tlOrigin(int x, int y)
- constructor pos by x and flipped y
Properties
Methods
-
copy(
) → ChessPos - A copy of position
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCode(
) → String - trans to code position
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override