agentland.games.XiangQi
Interface XiangQi

All Superinterfaces:
Agent, Remote
All Known Implementing Classes:
XiangQiAgent

public interface XiangQi
extends Agent


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 String getWinner()
           
 boolean isOver()
           
 boolean makeMove(String start, String destination)
           
 void resetGame()
           
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 

Method Detail

makeMove

public boolean makeMove(String start,
                        String destination)
                 throws RemoteException

isOver

public boolean isOver()
               throws RemoteException

getWinner

public String getWinner()
                 throws RemoteException

resetGame

public void resetGame()
               throws RemoteException