Piece Methods |
The Piece type exposes the following members.
Name | Description | |
---|---|---|
canMoveTo | ||
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
generateLegalMoves | ||
getColor | ||
getFile |
Returns the file of the Piece on the board.
| |
GetHashCode | (Inherited from Object.) | |
getLocation |
Returns a TupleT1, T2 containing the rank and file of the Piece | |
getRank |
Returns the rank of the Piece on the board.
| |
getType | ||
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
setColor | ||
setFile |
Sets the file of the Piece | |
setLocation |
Sets the rank and file of this Piece | |
setRank |
Sets the rank of the Piece | |
setType | ||
ToString | ToString override
(Overrides ObjectToString.) |