static ChessBoardModel |
ChessHelper.applyMove(ChessRules rules,
ChessPosition position,
ChessMovePath move) |
static ChessBoardModel |
ChessHelper.applyMoveAndSwitch(ChessRules rules,
ChessPosition position,
ChessMovePath move) |
Set<ChessBoardCoord> |
ChessRules.getAttackingPieces(ChessPosition position,
ChessBoardCoord square) |
Set<ChessBoardCoord> |
ChessRulesImpl.getAttackingPieces(ChessPosition position,
ChessBoardCoord squarePosition) |
Set<ChessMovePath> |
ChessRules.getAvailableMoves(ChessPosition position) |
Set<ChessMovePath> |
ChessRulesImpl.getAvailableMoves(ChessPosition position) |
Set<ChessBoardCoord> |
ChessRules.getReachableDestinations(ChessPosition position,
ChessBoardCoord pieceCoords,
boolean excludeCheckSituations) |
Set<ChessBoardCoord> |
ChessRulesImpl.getReachableDestinations(ChessPosition position,
ChessBoardCoord pieceCoords,
boolean excludeCheckSituations) |
ChessGameStatus |
ChessRules.getStatus(ChessPosition position) |
ChessGameStatus |
ChessRulesImpl.getStatus(ChessPosition position) |
List<ChessBoardUpdate> |
ChessRules.getUpdatesForMove(ChessPosition position,
ChessMovePath path) |
List<ChessBoardUpdate> |
ChessRulesImpl.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.
|