|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--chesspresso.position.AbstractPosition | +--chesspresso.position.AbstractMutablePosition | +--chesspresso.position.AbstractMoveablePosition
Field Summary |
Fields inherited from class chesspresso.position.AbstractMutablePosition |
m_changeListeners, m_listeners, m_notifyListeners, m_notifyPositionChanged |
Fields inherited from class chesspresso.position.AbstractPosition |
HASH_ALL_MASK, HASH_TOPLAY_MASK, HASH_TOPLAY_MULT, s_hashCastleMod, s_hashEPMod, s_hashMod |
Fields inherited from interface chesspresso.position.ImmutablePosition |
ALL_CASTLES, BLACK_CASTLE, BLACK_LONG_CASTLE, BLACK_SHORT_CASTLE, NO_CASTLES, WHITE_CASTLE, WHITE_LONG_CASTLE, WHITE_SHORT_CASTLE |
Constructor Summary | |
AbstractMoveablePosition()
|
Method Summary | |
void |
doMove(Move move)
|
short |
getMove(int from,
int to,
int promoPiece)
|
Methods inherited from class chesspresso.position.AbstractPosition |
equals, getFEN, getHashCode, getStartPositionHashCode, hashCode, isCastlePossible, isLegal, isSquarePossibleEPSquare, isStartPosition, isWhiteToPlay, toString, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface chesspresso.position.MoveablePosition |
canRedoMove, canUndoMove, doMove, getAllMoves, getLastMove, getLastShortMove, getMovesAsString, redoMove, undoMove |
Methods inherited from interface chesspresso.position.MutablePosition |
clear, set, setCastles, setHalfMoveClock, setPlyNumber, setSqiEP, setStart, setStone, setToPlay |
Methods inherited from interface chesspresso.position.ImmutablePosition |
getCastles, getFEN, getHalfMoveClock, getHashCode, getPlyNumber, getSqiEP, getStone, getToPlay, hashCode, isLegal, isStartPosition, validate |
Constructor Detail |
public AbstractMoveablePosition()
Method Detail |
public void doMove(Move move) throws IllegalMoveException
doMove
in interface MoveablePosition
IllegalMoveException
public short getMove(int from, int to, int promoPiece)
getMove
in interface MoveablePosition
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |