chesspresso.position
Interface MutablePosition

All Superinterfaces:
ImmutablePosition
All Known Subinterfaces:
MoveablePosition
All Known Implementing Classes:
AbstractMoveablePosition, AbstractMutablePosition

public interface MutablePosition
extends ImmutablePosition

Version:
$Revision: 1.1 $
Author:
$Author: BerniMan $

Field Summary
 
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
 
Method Summary
 void clear()
           
 void set(ImmutablePosition position)
           
 void setCastles(int castles)
           
 void setHalfMoveClock(int halfMoveClock)
           
 void setPlyNumber(int plyNumber)
           
 void setSqiEP(int sqiEP)
           
 void setStart()
           
 void setStone(int sqi, int stone)
           
 void setToPlay(int toPlay)
           
 
Methods inherited from interface chesspresso.position.ImmutablePosition
getCastles, getFEN, getHalfMoveClock, getHashCode, getPlyNumber, getSqiEP, getStone, getToPlay, hashCode, isLegal, isStartPosition, validate
 

Method Detail

clear

public void clear()

set

public void set(ImmutablePosition position)

setStart

public void setStart()

setStone

public void setStone(int sqi,
                     int stone)

setCastles

public void setCastles(int castles)

setSqiEP

public void setSqiEP(int sqiEP)

setToPlay

public void setToPlay(int toPlay)

setPlyNumber

public void setPlyNumber(int plyNumber)

setHalfMoveClock

public void setHalfMoveClock(int halfMoveClock)