rl.centurion.game.elements
Class CenturionUnitTemplate

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

public class CenturionUnitTemplate
extends UnitTemplate

See Also:
Serialized Form

Nested Class Summary
 class CenturionUnitTemplate.CommanderTemplate
           
 
Nested classes/interfaces inherited from class rl.common.game.elements.UnitTemplate
UnitTemplate.Deployment
 
Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
CenturionUnitTemplate(java.lang.String type)
           
 
Method Summary
 CenturionUnitTemplate.CommanderTemplate getCommander()
           
 UnitTemplate getNewChild()
           
 DeploymentTemplate getNewDeploymentTemplate()
           
 java.util.Collection<VehicleTemplate> getVehicles()
           
 void loadFromElement(org.jdom.Element e)
           
protected  void loadFromUnitTemplate(UnitTemplate template)
           
protected  void loadVehicleFromElement(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

CenturionUnitTemplate

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

getCommander

public CenturionUnitTemplate.CommanderTemplate getCommander()

getVehicles

public java.util.Collection<VehicleTemplate> getVehicles()

loadFromElement

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

loadVehicleFromElement

protected void loadVehicleFromElement(org.jdom.Element e)

getNewChild

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

getNewDeploymentTemplate

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

loadFromUnitTemplate

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