rl.leviathan.game.elements
Class FighterUnit
java.lang.Object
rl.common.game.elements.GameElement
rl.leviathan.game.elements.FighterUnit
- All Implemented Interfaces:
- java.io.Serializable
public class FighterUnit
- extends GameElement
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
FighterUnit
public FighterUnit(Faction faction,
FighterUnit.Type type)
getFaction
public Faction getFaction()
getType
public FighterUnit.Type getType()
getName
public java.lang.String getName()
- Specified by:
getName in class GameElement
setName
public void setName(java.lang.String name)
getArmour
public int getArmour()
getCRA
public int getCRA()
getLRA
public int getLRA()
getMAV
public int getMAV()
getMovement
public int getMovement()
addFighters
public void addFighters(LeviathanFighterDesign design,
int fighters)
completedAddingFighters
public void completedAddingFighters()
getElementType
public java.lang.String getElementType()
- Specified by:
getElementType in class GameElement
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
dumpArmourBlock
public java.lang.String dumpArmourBlock()
getProfileHeading
public java.lang.String getProfileHeading()
dumpProfile
public java.lang.String dumpProfile()
getStatLineHeading
public java.lang.String getStatLineHeading()
dumpStatLine
public java.lang.String dumpStatLine()