| Package | Description |
|---|---|
| org.alcibiade.chess.model | |
| org.alcibiade.chess.persistence | |
| org.alcibiade.chess.rules |
| Constructor and Description |
|---|
IllegalMoveException(ChessMovePath path,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
ChessMovePath |
PgnMarshallerImpl.convertPgnToMove(ChessPosition position,
java.lang.String pgnMove) |
ChessMovePath |
PgnMarshaller.convertPgnToMove(ChessPosition position,
java.lang.String pgnMove) |
protected ChessMovePath |
PgnMarshallerImpl.parseStandardMove(java.lang.String pgnMove,
ChessPosition position) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
PgnMarshallerImpl.convertMoveToPgn(ChessPosition position,
ChessMovePath move) |
java.lang.String |
PgnMarshaller.convertMoveToPgn(ChessPosition position,
ChessMovePath move) |
| Modifier and Type | Field and Description |
|---|---|
static ChessMovePath |
Castling.CASTLEBLACKK |
static ChessMovePath |
Castling.CASTLEBLACKQ |
static ChessMovePath |
Castling.CASTLEWHITEK |
static ChessMovePath |
Castling.CASTLEWHITEQ |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ChessMovePath> |
ChessRulesImpl.getAvailableMoves(ChessPosition position) |
java.util.Set<ChessMovePath> |
ChessRules.getAvailableMoves(ChessPosition position) |
| Modifier and Type | Method and Description |
|---|---|
static ChessBoardModel |
ChessHelper.applyMove(ChessRules rules,
ChessPosition position,
ChessMovePath move) |
static ChessBoardModel |
ChessHelper.applyMoveAndSwitch(ChessRules rules,
ChessPosition position,
ChessMovePath move) |
java.util.List<ChessBoardUpdate> |
ChessRulesImpl.getUpdatesForMove(ChessPosition position,
ChessMovePath path) |
java.util.List<ChessBoardUpdate> |
ChessRules.getUpdatesForMove(ChessPosition position,
ChessMovePath path) |
static boolean |
ChessHelper.isCheck(ChessRules rules,
ChessPosition position,
ChessMovePath move,
boolean swapSides)
Check if a move would lead to a Check situation.
|
Copyright © 2015. All Rights Reserved.