|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PieceLocation | |
game | The main class of this package is Board, which represents a checkerboard for any kind of checkerboard game -- checkers, chess, etc. |
Uses of PieceLocation in game |
Methods in game that return PieceLocation | |
PieceLocation |
Board.find(Piece piece)
Get a piece's location on this board. |
Methods in game with parameters of type PieceLocation | |
void |
BoardListener.pieceAdded(PieceLocation newLoc)
Called after a new piece is added to the board. |
void |
BoardListener.pieceRemoved(PieceLocation oldLoc)
Called after a piece is removed from the board. |
void |
BoardListener.pieceMoved(PieceLocation fromLoc,
PieceLocation toLoc)
Called after a piece already on the board moves to a new location. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |