|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Position | |
---|---|
klaus.backend | |
klaus.chess | |
klaus.chess.party |
Uses of Position in klaus.backend |
---|
Methods in klaus.backend that return Position | |
---|---|
Position |
OfflinePlayingBackend.getPosition()
|
Position |
NullBackend.getPosition()
|
Position |
ChessBackend.getPosition()
|
Methods in klaus.backend with parameters of type Position | |
---|---|
void |
NullBackend.setPosition(Position position)
|
void |
ChessBackend.setPosition(Position position)
Sets the backend position to the given position. |
Uses of Position in klaus.chess |
---|
Fields in klaus.chess declared as Position | |
---|---|
private Position |
Move.newPosition
|
Methods in klaus.chess that return Position | |
---|---|
Position |
Move.applyMoveTo(Position pos)
This applies this move to a position and returns a new position with the given move done. |
Methods in klaus.chess with parameters of type Position | |
---|---|
static boolean |
MoveControl.accept(Move move,
Position position)
Check if a move is legal in a given position |
Position |
Move.applyMoveTo(Position pos)
This applies this move to a position and returns a new position with the given move done. |
private static boolean |
MoveControl.canDoMove(Move move,
Position position)
Checks whether a move is technically possible (meaning regarding the pieces positions, if the way is free etc, ignoring if pieces are in check etc. |
static Point |
MoveControl.findKing(Position position,
boolean white)
Get the king's current position |
String |
Move.getNotation(Position oldPosition)
|
static boolean |
MoveControl.squareInCheck(Position pos,
int searchx,
int searchy,
boolean white)
Checks if a certain square is in check |
Constructors in klaus.chess with parameters of type Position | |
---|---|
Move(String engineMove,
Position position)
Creates a move from an engine's string |
Uses of Position in klaus.chess.party |
---|
Methods in klaus.chess.party that return Position | |
---|---|
Position |
Party.getPosition()
Get the position at the end of the game, variants will be ignored! |
Position |
Party.getPosition(int endPly)
Get a position in the game, with endPly being the last ply before the position that should be created. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |