chesspresso.engines
Class ChXBoardEngine
java.lang.Object
|
+--chesspresso.engines.ChXBoardEngine
- public class ChXBoardEngine
- extends java.lang.Object
- Version:
- $Revision: 1.1 $
- Author:
- Bernhard Seybold
Constructor Summary |
ChXBoardEngine(java.lang.String command,
java.lang.String dir)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChXBoardEngine
public ChXBoardEngine(java.lang.String command,
java.lang.String dir)
throws java.io.IOException
addListener
public void addListener(ChXBoardEngine.Listener listener)
removeListener
public void removeListener(ChXBoardEngine.Listener listener)
getName
public java.lang.String getName()
init
public void init()
doMove
public void doMove(Move move)
undoMove
public void undoMove()
analyze
public void analyze(ChXBoardEngine.AnalysisListener listener,
boolean post,
int periodicUpdateInterval)
unanalyze
public void unanalyze()
quit
public void quit()
setPosition
public void setPosition(ImmutablePosition pos)
setHashSize
public void setHashSize(int hashSize)
sendMessage
public void sendMessage(java.lang.String msg)