rl.common.game.elements
Class InfantryMortar

java.lang.Object
  extended by rl.common.game.elements.Equipment
      extended by rl.common.game.elements.Weapon
          extended by rl.common.game.elements.InfantryMortar
All Implemented Interfaces:
java.io.Serializable

public class InfantryMortar
extends Weapon

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class rl.common.game.elements.Weapon
Weapon.WeaponType
 
Nested classes/interfaces inherited from class rl.common.game.elements.Equipment
Equipment.LocationRestriction, Equipment.Type, Equipment.Use
 
Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class rl.common.game.elements.Weapon
WeaponTypeName
 
Constructor Summary
InfantryMortar()
           
 
Method Summary
 int getAmmunitionCapacity()
           
 java.util.Vector<java.lang.String> getAmmunitionTypeNames()
           
 WeaponDamageTemplate getDamageTemplate()
           
 Weapon.WeaponType getWeaponType()
           
 boolean isArtilleryWeapon()
           
 boolean isDirectFireWeapon()
           
 boolean isIndirectFireWeapon()
           
 boolean isOffensiveWeapon()
           
 void setValue(org.jdom.Element val)
           
 boolean usesAmmunition()
           
 boolean usesAmmunitionTypes()
           
 
Methods inherited from class rl.common.game.elements.Weapon
getInfantryDamage, getRange, getType, isBallistic
 
Methods inherited from class rl.common.game.elements.Equipment
getCost, getEquipmentUse, getMass, getName, getPower, getRestriction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

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

InfantryMortar

public InfantryMortar()
Method Detail

getAmmunitionCapacity

public int getAmmunitionCapacity()
Specified by:
getAmmunitionCapacity in class Weapon

getAmmunitionTypeNames

public java.util.Vector<java.lang.String> getAmmunitionTypeNames()
Specified by:
getAmmunitionTypeNames in class Weapon

getDamageTemplate

public WeaponDamageTemplate getDamageTemplate()
Specified by:
getDamageTemplate in class Weapon

getWeaponType

public Weapon.WeaponType getWeaponType()
Specified by:
getWeaponType in class Weapon

isArtilleryWeapon

public boolean isArtilleryWeapon()
Specified by:
isArtilleryWeapon in class Weapon

isDirectFireWeapon

public boolean isDirectFireWeapon()
Specified by:
isDirectFireWeapon in class Weapon

isIndirectFireWeapon

public boolean isIndirectFireWeapon()
Specified by:
isIndirectFireWeapon in class Weapon

isOffensiveWeapon

public boolean isOffensiveWeapon()
Specified by:
isOffensiveWeapon in class Weapon

usesAmmunition

public boolean usesAmmunition()
Specified by:
usesAmmunition in class Weapon

usesAmmunitionTypes

public boolean usesAmmunitionTypes()
Specified by:
usesAmmunitionTypes in class Weapon

setValue

public void setValue(org.jdom.Element val)
              throws java.lang.IllegalArgumentException
Overrides:
setValue in class Weapon
Throws:
java.lang.IllegalArgumentException