rl.leviathan.game.elements
Class OrbitalInstallation

java.lang.Object
  extended by rl.common.game.elements.GameElement
      extended by rl.leviathan.game.elements.OrbitalInstallation
All Implemented Interfaces:
java.io.Serializable

public class OrbitalInstallation
extends GameElement

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class rl.common.game.elements.GameElement
GameElement.StatusPhase
 
Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
OrbitalInstallation()
           
 
Method Summary
 void applyDamageSummary(GameElementDamageSummary geds)
           
 GameElementDamageSummary calculateStatus(int turn, GameElement.StatusPhase phase)
           
 boolean canMove(int turn)
           
 CapitalShipArmour getArmour()
           
 double getDamageSummary(int turn)
           
 OrbitalInstallationDesign getDesign()
           
 java.lang.String getElementType()
           
 double getInternalDamageSummary(int turn)
           
 CapitalShipInternalStructure getInternalStructure()
           
 java.lang.String getName()
           
 boolean hasInternalStructure()
           
 boolean isDestroyed(int turn)
           
 
Methods inherited from class rl.common.game.elements.GameElement
equals, getID, getIdentifier, getUnit, hashCode, setUnit, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

OrbitalInstallation

public OrbitalInstallation()
Method Detail

getElementType

public java.lang.String getElementType()
Specified by:
getElementType in class GameElement

getName

public java.lang.String getName()
Specified by:
getName in class GameElement

getDesign

public OrbitalInstallationDesign getDesign()

getInternalStructure

public CapitalShipInternalStructure getInternalStructure()

getArmour

public CapitalShipArmour getArmour()

calculateStatus

public GameElementDamageSummary calculateStatus(int turn,
                                                GameElement.StatusPhase phase)
Specified by:
calculateStatus in class GameElement

applyDamageSummary

public void applyDamageSummary(GameElementDamageSummary geds)
Specified by:
applyDamageSummary in class GameElement

canMove

public boolean canMove(int turn)

isDestroyed

public boolean isDestroyed(int turn)
Specified by:
isDestroyed in class GameElement

hasInternalStructure

public boolean hasInternalStructure()
Specified by:
hasInternalStructure in class GameElement

getDamageSummary

public double getDamageSummary(int turn)
Specified by:
getDamageSummary in class GameElement

getInternalDamageSummary

public double getInternalDamageSummary(int turn)
Specified by:
getInternalDamageSummary in class GameElement