| Package | Description |
|---|---|
| org.alcibiade.chess.model | |
| org.alcibiade.chess.model.boardupdates | |
| org.alcibiade.chess.persistence | |
| org.alcibiade.chess.rules |
| Modifier and Type | Method and Description |
|---|---|
ChessSide |
ChessBoardModel.getNextPlayerTurn() |
ChessSide |
ChessPosition.getNextPlayerTurn()
Get the next player to move.
|
ChessSide |
ChessPiece.getSide() |
ChessSide |
ChessSide.opposite() |
static ChessSide |
ChessSide.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChessSide |
ChessSide.valueOfShortName(String name) |
static ChessSide[] |
ChessSide.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ChessBoardModel.isCastlingAvailable(ChessSide side,
boolean kingside) |
boolean |
ChessPosition.isCastlingAvailable(ChessSide side,
boolean kingside)
Check if castling is available at the current position.
|
void |
ChessBoardModel.setCastlingAvailable(ChessSide side,
boolean kingside,
boolean available) |
void |
ChessBoardModel.setNextPlayerTurn(ChessSide nextPlayerTurn) |
| Constructor and Description |
|---|
ChessPiece(ChessPieceType type,
ChessSide side) |
| Constructor and Description |
|---|
FlagUpdateCastling(ChessSide side,
boolean kingside) |
| Modifier and Type | Method and Description |
|---|---|
ChessSide |
FenChessPosition.getNextPlayerTurn() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FenChessPosition.isCastlingAvailable(ChessSide side,
boolean kingside) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ChessBoardCoord> |
PieceLocator.locatePieces(ChessSide side)
Locate coordinates of all pieces of a given playing side.
|
Copyright © 2016. All Rights Reserved.