|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ChessBoard | |
|---|---|
| controller | |
| model.moves | |
| model.pieces | |
| Uses of ChessBoard in controller |
|---|
| Methods in controller that return ChessBoard | |
|---|---|
ChessBoard |
Control.getBoard()
accessor(selector): Returns the current ChessBoard to the called upon method. |
| Uses of ChessBoard in model.moves |
|---|
| Methods in model.moves with parameters of type ChessBoard | |
|---|---|
boolean |
Castling.move(ChessBoard x)
transformer(mutative): Applies a Castling move on the given ChessBoard. |
boolean |
Move.move(ChessBoard x)
Given a ChessBoard and a Move(this), applies the given Move on the chess board. |
boolean |
CapturePromotion.move(ChessBoard x)
transformer(mutative): Applies a Capture Promotion move on the given ChessBoard. |
boolean |
Promotion.move(ChessBoard x)
transformer(mutative): Applies a Promotion move on the given ChessBoard. |
void |
Capture.prev(ChessBoard x)
transformer(mutative): Takes the chess board a move back. |
void |
Castling.prev(ChessBoard x)
transformer(mutative): Takes the ChessBoard a move back. |
void |
Move.prev(ChessBoard x)
Given a ChessBoard performs a reverse Move. |
void |
CapturePromotion.prev(ChessBoard x)
transformer(mutative): Takes the chess board a move back. |
void |
Promotion.prev(ChessBoard x)
transformer(mutative): Takes the ChessBoard a move back. |
| Uses of ChessBoard in model.pieces |
|---|
| Methods in model.pieces with parameters of type ChessBoard | |
|---|---|
java.util.List<Move> |
Bishop.moves(Cell p,
ChessBoard b)
Creates and returns a List of all the possible Moves the Bishop can execute. |
java.util.List<Move> |
Queen.moves(Cell p,
ChessBoard b)
Creates and returns a List of all the possible Moves the Queen can execute. |
java.util.List<Move> |
Pawn.moves(Cell p,
ChessBoard b)
Creates and returns a List of all the possible Moves the given Pawn can execute. |
java.util.List<Move> |
King.moves(Cell p,
ChessBoard b)
Creates and returns a List of all the possible Moves the King can execute. |
java.util.List<Move> |
Knight.moves(Cell p,
ChessBoard b)
Creates and returns a List of all the possible Moves the Knight can execute. |
abstract java.util.List<Move> |
Piece.moves(Cell x,
ChessBoard z)
Finds and returns all the possible moves of the Piece in the given Cell, in the given ChessBoard. |
java.util.List<Move> |
Rook.moves(Cell p,
ChessBoard b)
Creates and returns a List of all the possible Moves the Rook can execute. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||