rl.centurion.game
Interface CenturionGameListener

All Known Implementing Classes:
CenturionGameServer

public interface CenturionGameListener


Method Summary
 void boardLoaded()
           
 void commanderSelected(CenturionGameSide side, Commander commander)
          Called when a commander has been selected for a side
 void commanderToBeSelected(CenturionGameSide side, java.util.Vector<Commander> commanders)
          Called when there is more than one commander available for a side.
 void commandPointAdvantage(CenturionGameSide side)
           
 void elementNoLongerVisible(Player p, Location l, Affiliation aff)
           
 void elementRemoved(Player p, GameElementIdentifier ge)
           
 void elementVisible(Player p, Location l, Affiliation aff)
           
 void turnCompleted(CenturionGameTurn turn)
           
 void turnStarted(CenturionGameTurn turn)
           
 

Method Detail

boardLoaded

void boardLoaded()

commanderToBeSelected

void commanderToBeSelected(CenturionGameSide side,
                           java.util.Vector<Commander> commanders)
Called when there is more than one commander available for a side.

Parameters:
side - The game side the decision has to be made for
commanders - List of available Commanders to choose from.

commanderSelected

void commanderSelected(CenturionGameSide side,
                       Commander commander)
Called when a commander has been selected for a side

Parameters:
side - The game side the commander belongs to
commander - Commander that was selected as overall force commander

commandPointAdvantage

void commandPointAdvantage(CenturionGameSide side)

turnStarted

void turnStarted(CenturionGameTurn turn)

turnCompleted

void turnCompleted(CenturionGameTurn turn)

elementVisible

void elementVisible(Player p,
                    Location l,
                    Affiliation aff)

elementNoLongerVisible

void elementNoLongerVisible(Player p,
                            Location l,
                            Affiliation aff)

elementRemoved

void elementRemoved(Player p,
                    GameElementIdentifier ge)