Package Piece

Enum Class PieceColor

java.lang.Object
java.lang.Enum<PieceColor>
Piece.PieceColor
All Implemented Interfaces:
Serializable, Comparable<PieceColor>, Constable

public enum PieceColor extends Enum<PieceColor>
Represents the two possible colors of a chess piece: white or black.

This enum is used to distinguish between opposing players and determine piece behavior such as turn order and sprite rendering.

See Also: