rl.centurion.client.game
Interface CenturionGameListener

All Known Implementing Classes:
CenturionGamePanel

public interface CenturionGameListener


Method Summary
 void commanderToBeSelected(java.util.Vector<Commander> comms)
           
 void doCommandPointAllocation()
           
 void elementCompletedFiring(GameElementIdentifier source, boolean roundComplete)
           
 void elementDamaged(GameElement element)
          Called when an element has been damaged
 void elementDestroyed(GameElement element)
          Called when an element has been damaged and destroyed
 void elementFiring(GameElementIdentifier source, GameElementIdentifier target)
           
 void elementMoved(GameElementIdentifier element)
           
 void elementPainted(SuccessfulPaint sp)
           
 void elementPainting(GameElementIdentifier source, GameElementIdentifier target, boolean roundComplete)
           
 void elementsToFire(java.util.Vector<GameElementIdentifier> elements)
           
 void elementsToMove(java.util.Vector<GameElementIdentifier> elements)
           
 void elementsToPaint(java.util.Vector<GameElementIdentifier> elements)
           
 void initiativeLoser()
           
 void initiativeWinner()
           
 void opportunityFire(GameElement firer, GameElement target)
          Called when player must allocate fire against a target as a part of Opportunity Fire
 void opportunityFireResponsesRequired(java.util.HashMap<GameElementIdentifier,java.util.Vector<GameElementIdentifier>> ofr)
          Called when player must make a choice about elements that have declared Opportunity Fire
 void playerFiringAttempts(java.util.Vector<FireAttemptRecord> attempt)
          called to notify the player of the results of the fire attempts
 void playerPaintingAttempts(java.util.Vector<FireAttemptRecord> attempt)
           
 void pointDefenceAllocation(PointDefenceAllocation pda)
          Called when player must make an allocation of point defence against missile fire
 void selectMovementTeamOrder()
           
 void selectPlayerToFire(java.util.Vector<Player> players)
           
 void selectPlayerToPaint(java.util.Vector<Player> players)
           
 void selectUnitToMove(java.util.Vector<UnitIdentifier> units)
           
 void validFiringTargets(java.util.Vector<GameElementIdentifier> elements)
           
 void validPaintTargets(java.util.Vector<GameElementIdentifier> elements)
           
 

Method Detail

commanderToBeSelected

void commanderToBeSelected(java.util.Vector<Commander> comms)

doCommandPointAllocation

void doCommandPointAllocation()

initiativeWinner

void initiativeWinner()

initiativeLoser

void initiativeLoser()

selectMovementTeamOrder

void selectMovementTeamOrder()

selectUnitToMove

void selectUnitToMove(java.util.Vector<UnitIdentifier> units)

elementsToMove

void elementsToMove(java.util.Vector<GameElementIdentifier> elements)

elementMoved

void elementMoved(GameElementIdentifier element)

selectPlayerToPaint

void selectPlayerToPaint(java.util.Vector<Player> players)

elementsToPaint

void elementsToPaint(java.util.Vector<GameElementIdentifier> elements)

validPaintTargets

void validPaintTargets(java.util.Vector<GameElementIdentifier> elements)

elementPainting

void elementPainting(GameElementIdentifier source,
                     GameElementIdentifier target,
                     boolean roundComplete)

elementPainted

void elementPainted(SuccessfulPaint sp)

playerPaintingAttempts

void playerPaintingAttempts(java.util.Vector<FireAttemptRecord> attempt)

selectPlayerToFire

void selectPlayerToFire(java.util.Vector<Player> players)

elementsToFire

void elementsToFire(java.util.Vector<GameElementIdentifier> elements)

validFiringTargets

void validFiringTargets(java.util.Vector<GameElementIdentifier> elements)

elementFiring

void elementFiring(GameElementIdentifier source,
                   GameElementIdentifier target)

elementCompletedFiring

void elementCompletedFiring(GameElementIdentifier source,
                            boolean roundComplete)

playerFiringAttempts

void playerFiringAttempts(java.util.Vector<FireAttemptRecord> attempt)
called to notify the player of the results of the fire attempts


pointDefenceAllocation

void pointDefenceAllocation(PointDefenceAllocation pda)
Called when player must make an allocation of point defence against missile fire


opportunityFireResponsesRequired

void opportunityFireResponsesRequired(java.util.HashMap<GameElementIdentifier,java.util.Vector<GameElementIdentifier>> ofr)
Called when player must make a choice about elements that have declared Opportunity Fire

Parameters:
ofr -

opportunityFire

void opportunityFire(GameElement firer,
                     GameElement target)
Called when player must allocate fire against a target as a part of Opportunity Fire

Parameters:
firer - the element engaging in opportunity fire
target - the target of the opportunity fire

elementDamaged

void elementDamaged(GameElement element)
Called when an element has been damaged

Parameters:
element -

elementDestroyed

void elementDestroyed(GameElement element)
Called when an element has been damaged and destroyed

Parameters:
element -