rl.leviathan.game.elements
Class LeviathanUnitTemplate

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

public class LeviathanUnitTemplate
extends UnitTemplate

See Also:
Serialized Form

Nested Class Summary
 class LeviathanUnitTemplate.CommanderTemplate
           
 
Nested classes/interfaces inherited from class rl.common.game.elements.UnitTemplate
UnitTemplate.Deployment
 
Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
LeviathanUnitTemplate(java.lang.String type)
           
 
Method Summary
 java.util.Collection<CapitalShipTemplate> getCapitalShips()
           
 LeviathanUnitTemplate.CommanderTemplate getCommander()
           
 UnitTemplate getNewChild()
           
 DeploymentTemplate getNewDeploymentTemplate()
           
 void loadFromElement(org.jdom.Element e)
           
protected  void loadFromUnitTemplate(UnitTemplate template)
           
protected  void loadShipFromElement(org.jdom.Element e)
           
 
Methods inherited from class rl.common.game.elements.UnitTemplate
clearDeploymentTemplate, getChildren, getDeploymentTemplate, getDesignation, getFactionsUnitRestrictedTo, getHQ, getName, getParent, getTemplateType, getType, isAvailableForFaction, loadFromFile, setDeploymentTemplate, setDesignation, setHQ, setName, setParent, setRestrictedFactions, setType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

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

LeviathanUnitTemplate

public LeviathanUnitTemplate(java.lang.String type)
Method Detail

getCommander

public LeviathanUnitTemplate.CommanderTemplate getCommander()

getCapitalShips

public java.util.Collection<CapitalShipTemplate> getCapitalShips()

getNewChild

public UnitTemplate getNewChild()
Specified by:
getNewChild in class UnitTemplate

getNewDeploymentTemplate

public DeploymentTemplate getNewDeploymentTemplate()
Specified by:
getNewDeploymentTemplate in class UnitTemplate

loadFromElement

public void loadFromElement(org.jdom.Element e)
                     throws java.lang.Exception
Overrides:
loadFromElement in class UnitTemplate
Throws:
java.lang.Exception

loadShipFromElement

protected void loadShipFromElement(org.jdom.Element e)

loadFromUnitTemplate

protected void loadFromUnitTemplate(UnitTemplate template)
Overrides:
loadFromUnitTemplate in class UnitTemplate