|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectheurgame.Referee
Constructor Summary | |
Referee()
|
Method Summary | |
abstract void |
addPlayer(PlayerProxy p)
Adds a new player, should trigger the game to send a player event. |
abstract void |
rejectAllPlayers()
The quick way to force a game reset. |
abstract void |
reportIncrementalStatus()
Reports the latest change in the game to all players |
abstract void |
reportStatus(PlayerToken uninformed)
Reports the state of the game to all players execpt a particular one |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface heurgame.event.GameListener |
gameEnded, gameSetup, gameStarted |
Methods inherited from interface heurgame.event.TurnListener |
turnChanged |
Constructor Detail |
public Referee()
Method Detail |
public abstract void addPlayer(PlayerProxy p)
p
- the new player attached to the game.public abstract void rejectAllPlayers()
public abstract void reportStatus(PlayerToken uninformed)
uninformed
- not told statuspublic abstract void reportIncrementalStatus()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |