|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
RefereeIntf is an interface that is implemented by Referee.
As such, RefereeIntf just declares the methods that can be called from the
Referee using RMI.
Referee| Method Summary | |
int |
addPlayer(ObserverIntf observer,
java.lang.String name,
int iconID)
See Referee for an implementation of this method. |
void |
beginGame()
See Referee for an implementation of this method. |
void |
determineRobKong(int willRob,
int playerPosition,
int currentPlayer)
See Referee for an implementation of this method. |
void |
exitGame()
See Referee for an implementation of this method. |
int |
getLimit()
See Referee for an implementation of this method. |
MiniPlayer[] |
getPlayers()
See Referee for an implementation of this method. |
int |
getPos()
See Referee for an implementation of this method. |
int[] |
getPositions()
See Referee for an implementation of this method. |
Wall |
getWall()
See Referee for an implementation of this method. |
void |
initServer()
See Referee for an implementation of this method. |
void |
placePlayerAction(Moves currentMove,
int action)
See Referee for an implementation of this method. |
void |
placeSelection(int selectionNo,
int playerNo,
int currentPlayer)
See Referee for an implementation of this method. |
| Method Detail |
public MiniPlayer[] getPlayers()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public int[] getPositions()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public int getLimit()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public int addPlayer(ObserverIntf observer,
java.lang.String name,
int iconID)
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public void beginGame()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public void initServer()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public int getPos()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public Wall getWall()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public void placeSelection(int selectionNo,
int playerNo,
int currentPlayer)
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public void placePlayerAction(Moves currentMove,
int action)
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public void determineRobKong(int willRob,
int playerPosition,
int currentPlayer)
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
public void exitGame()
throws java.rmi.RemoteException
Referee for an implementation of this method.Referee
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||