org.xistrat.net
Interface ClientUI
- All Known Implementing Classes:
- ChessEngine, GoEngine, XiStratPanel
public interface ClientUI
ClientUI Interface that maps a generic UI for a F4 Client.
This interface is used by F4ClientCore to notify a generic "client" of anything
- Since:
- 0.5.42
setGameList
void setGameList(java.lang.String[] list,
java.lang.String[] position)
handleNewGame
void handleNewGame(boolean ok,
java.lang.String info)
showMsg
void showMsg(java.lang.String info)
showErr
void showErr(java.lang.String error)
buildPlayField
void buildPlayField(java.lang.String position)
abort
void abort()
logout
void logout()
lose
void lose(java.lang.String winner)
win
void win()
waitForUserMove
void waitForUserMove(boolean waitForMe)
waitForUserUndo
void waitForUserUndo(boolean undoForMe)
waitForUserRemove
void waitForUserRemove(boolean removeForMe)
doMove
void doMove(int from,
int to)
doRemove
void doRemove(int to,
int status)
doPut
void doPut(int to,
int cont)
doPass
void doPass()
doUndo
void doUndo(int num)