rl.common.game.elements
Class AntiPersonnel

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

public class AntiPersonnel
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
AntiPersonnel()
           
 
Method Summary
 int getAmmunitionCapacity()
           
 java.util.Vector<java.lang.String> getAmmunitionTypeNames()
           
 WeaponDamageTemplate getDamageTemplate()
           
 Weapon.WeaponType getWeaponType()
           
 boolean isArtilleryWeapon()
           
 boolean isDirectFireWeapon()
           
 boolean isIndirectFireWeapon()
           
 boolean isOffensiveWeapon()
           
 boolean usesAmmunition()
           
 boolean usesAmmunitionTypes()
           
 
Methods inherited from class rl.common.game.elements.Weapon
getInfantryDamage, getRange, getType, isBallistic, setValue
 
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

AntiPersonnel

public AntiPersonnel()
Method Detail

isOffensiveWeapon

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

isDirectFireWeapon

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

isIndirectFireWeapon

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

isArtilleryWeapon

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

usesAmmunitionTypes

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

getAmmunitionTypeNames

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

usesAmmunition

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

getAmmunitionCapacity

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

getWeaponType

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

getDamageTemplate

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