public class AmmoDescriptor extends ItemDescriptor
NONE
Constructor and Description |
---|
AmmoDescriptor() |
Modifier and Type | Method and Description |
---|---|
String |
getPriAmmoType()
The class of this ammunition type.
|
double |
getPriDamage()
Damage of the projectile.
|
double |
getPriDamageRadius()
If the projectile does splash damage, the value here won't be zero and
will specify the radius of the splash damage in ut units.
|
String |
getPriDamageType()
Class of this ammunitions damage type.
|
int |
getPriInitialAmount()
Initial amount of ammunition.
|
double |
getPriLifeSpan()
Life span of this projectile.
|
int |
getPriMaxAmount()
Maximum amount of this ammunition we can hold in our inventory.
|
double |
getPriMaxEffectDistance()
Maximum effective distance of the projectile.
|
double |
getPriMaxRange()
Maximum firing range.
|
double |
getPriMaxSpeed()
Maximum possible speed of this projectile.
|
String |
getPriProjType()
Holds the class of the projectile spawn by this ammo type.
|
double |
getPriSpeed()
Default speed of the projectile - probably the projectile has this speed
when fired.
|
double |
getPriTossZ()
Probably the amount of speed added to Z velocity vector when this
projectile is fired.
|
boolean |
isPriAlwaysGibs()
If this damage will kill us instantly.
|
boolean |
isPriArmorStops()
If this damage can be stopped by an armor.
|
boolean |
isPriDetonatesGoop()
If this damage can detonate goop created by bio rifle (not sure).
|
boolean |
isPriExtraMomZ()
If the hit by this damage will add some speed to the target (will "push"
the target a bit).
|
boolean |
isPriSpecial()
If this damage is special.
|
boolean |
isPriSuperWeapon()
If this damage is caused by super weapon and will damage also team mates
even if friendly fire is off.
|
String |
toString() |
doReflexion, fieldToName, firstCharToUpperCase, getAmount, getInventoryType, getItemCategory, getPickupType
public String toString()
toString
in class ItemDescriptor
public String getPriAmmoType()
public int getPriInitialAmount()
public int getPriMaxAmount()
public double getPriMaxRange()
public String getPriDamageType()
public boolean isPriArmorStops()
public boolean isPriAlwaysGibs()
public boolean isPriSpecial()
public boolean isPriDetonatesGoop()
public boolean isPriSuperWeapon()
public boolean isPriExtraMomZ()
public String getPriProjType()
public double getPriDamage()
public double getPriSpeed()
public double getPriMaxSpeed()
public double getPriLifeSpan()
public double getPriDamageRadius()
public double getPriTossZ()
public double getPriMaxEffectDistance()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.