rl.leviathan.client.game
Interface LeviathanGameListener

All Known Implementing Classes:
LeviathanGamePanel

public interface LeviathanGameListener


Method Summary
 void elementCompletedFiring(GameElementIdentifier source, boolean roundComplete)
           
 void elementCompletedPointDefence(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, Coordinate sourceCoord, Coordinate targetCoord)
           
 void elementsToFire(java.util.Vector<GameElementIdentifier> elements)
           
 void elementsToFirePointDefence(java.util.Vector<GameElementIdentifier> elements)
           
 void elementToMove(GameElementIdentifier element)
           
 void initiativeLoser()
           
 void initiativeWinner()
           
 void playerFiringAttempts(java.util.Vector<FireAttemptRecord> attempt)
          called to notify the player of the results of the fire attempts
 void playerPointDefenceAttempts(java.util.Vector<PointDefenceAttemptRecord> attempt)
          called to notify the player of the results of the fire attempts
 void powerAllocationRequired(java.util.Vector<GameElementIdentifier> elements)
           
 void powerAllocationSet(CapitalShipPowerAllocation cspa)
           
 void selectElementToMove(java.util.Vector<GameElementIdentifier> elements)
           
 void selectMovementTeamOrder()
           
 void validFiringTargets(java.util.Vector<GameElementIdentifier> elements)
           
 void validPointDefenceTargets(java.util.Vector<GameElementIdentifier> elements)
           
 

Method Detail

initiativeWinner

void initiativeWinner()

initiativeLoser

void initiativeLoser()

selectMovementTeamOrder

void selectMovementTeamOrder()

powerAllocationRequired

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

powerAllocationSet

void powerAllocationSet(CapitalShipPowerAllocation cspa)

selectElementToMove

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

elementToMove

void elementToMove(GameElementIdentifier element)

elementsToFire

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

validFiringTargets

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

elementFiring

void elementFiring(GameElementIdentifier source,
                   GameElementIdentifier target,
                   Coordinate sourceCoord,
                   Coordinate targetCoord)

elementCompletedFiring

void elementCompletedFiring(GameElementIdentifier source,
                            boolean roundComplete)

elementsToFirePointDefence

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

validPointDefenceTargets

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

elementCompletedPointDefence

void elementCompletedPointDefence(GameElementIdentifier source,
                                  boolean roundComplete)

playerFiringAttempts

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


playerPointDefenceAttempts

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


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 -