rl.leviathan.game.elements
Interface CapitalShipDamageListener

All Known Implementing Classes:
CapitalShipDamageSummary

public interface CapitalShipDamageListener


Method Summary
 void bayWeaponDestroyed(int mountIndex)
          Called whent he bay weapon represented by the mountIndex has been destroyed
 void bayWeaponFireControlDamaged(int mountIndex)
          Called when the bay weapon represented by the mountIndex has suffered fire control damage
 void capitalShipArmourDamaged(CapitalShip ship, ShipSide side, int row, int column)
          Called when a cell of armour is damaged
 void capitalShipArmourDestroyed(CapitalShip ship, ShipSide side, int row, int column)
          Called when a cell of armour is destroyed
 void capitalShipArmourWidowed(CapitalShip ship, ShipSide side, int row, int column)
          Called when a cell of internal armour is widowed
 void CapitalShipDestroyed(CapitalShip ship)
          called when the CapitalShip has had damage to the CapitalShip Destroyed internal areas
 void CapitalShipExplodes(CapitalShip ship)
          Called when an onboard ammunition store explodes
 void capitalShipInternalStructureDamaged(CapitalShip ship, GridReference ref)
          Called when a cell of internal structure is damaged
 void capitalShipInternalStructureDestroyed(CapitalShip ship, GridReference ref)
          Called when a cell of internal structure is destroyed
 void capitalShipSystemDamaged(CapitalShip ship, java.lang.String system, ShipSide side, int blockIndex)
          Called when a CapitalShip system is damaged
 void statusUpdated()
          Called when the CapitalShip status has changed
 

Method Detail

capitalShipArmourDamaged

void capitalShipArmourDamaged(CapitalShip ship,
                              ShipSide side,
                              int row,
                              int column)
Called when a cell of armour is damaged


capitalShipArmourDestroyed

void capitalShipArmourDestroyed(CapitalShip ship,
                                ShipSide side,
                                int row,
                                int column)
Called when a cell of armour is destroyed


capitalShipInternalStructureDamaged

void capitalShipInternalStructureDamaged(CapitalShip ship,
                                         GridReference ref)
Called when a cell of internal structure is damaged


capitalShipInternalStructureDestroyed

void capitalShipInternalStructureDestroyed(CapitalShip ship,
                                           GridReference ref)
Called when a cell of internal structure is destroyed


capitalShipSystemDamaged

void capitalShipSystemDamaged(CapitalShip ship,
                              java.lang.String system,
                              ShipSide side,
                              int blockIndex)
Called when a CapitalShip system is damaged


capitalShipArmourWidowed

void capitalShipArmourWidowed(CapitalShip ship,
                              ShipSide side,
                              int row,
                              int column)
Called when a cell of internal armour is widowed


statusUpdated

void statusUpdated()
Called when the CapitalShip status has changed


CapitalShipDestroyed

void CapitalShipDestroyed(CapitalShip ship)
called when the CapitalShip has had damage to the CapitalShip Destroyed internal areas


CapitalShipExplodes

void CapitalShipExplodes(CapitalShip ship)
Called when an onboard ammunition store explodes


bayWeaponFireControlDamaged

void bayWeaponFireControlDamaged(int mountIndex)
Called when the bay weapon represented by the mountIndex has suffered fire control damage

Parameters:
mountIndex -

bayWeaponDestroyed

void bayWeaponDestroyed(int mountIndex)
Called whent he bay weapon represented by the mountIndex has been destroyed

Parameters:
mountIndex -