|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.ItemDescriptor
cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.AmmoDescriptor
public class AmmoDescriptor
Ammo desciptor describes the characteristics of an ammunition.
Field Summary |
---|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.ItemDescriptor |
---|
NONE |
Constructor Summary | |
---|---|
AmmoDescriptor()
|
Method Summary | |
---|---|
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. 0 if not limited - probably. |
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()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.ItemDescriptor |
---|
doReflexion, fieldToName, firstCharToUpperCase, getAmount, getInventoryType, getItemCategory, getPickupType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AmmoDescriptor()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |