This class represents the chess pieces on the board. Each piece has a corresponding side (color).
1.0.0-beta.1
lunalobos
Represents an empty square on the board.
White Pawn
White Knight
White Bishop
White Rook
White Queen
White King
Black Pawn
Black Knight
Black Bishop
Black Rook
Black Queen
Black King
Returns a representation of an immutable list of all enum entries, in the order they're declared.
The side (color) of the piece. This is null for EMPTY.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.