|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Piece in |
| Methods in Default Package that return Piece | |
Piece |
Board.getPiece(int row,
int column)
Returns the topmost piece at the given row and column in this Board, or null if the given location is empty. |
Piece |
Board.remove(int row,
int column)
Removes and returns the top piece at the given row and column on this Board. |
Piece |
Board.getSelectedPiece()
Returns the currently selected Piece, or null if
no Piece has been selected on this Board. |
| Methods in Default Package with parameters of type Piece | |
void |
Board.place(Piece piece,
int row,
int column)
Places the given piece at the given location in this board. |
boolean |
Board.remove(Piece piece)
Removes this piece from the board. |
void |
Board.setSelectedPiece(Piece selectedPiece)
Mark the given Piece as the selected one; unmark any previously selected Piece. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||