com.springrts.ai.oo
Class WeaponMount
java.lang.Object
  
com.springrts.ai.oo.WeaponMount
- All Implemented Interfaces: 
 - Comparable<WeaponMount>
 
public class WeaponMount
- extends Object
- implements Comparable<WeaponMount>
  
 
 
getUnitDefId
public int getUnitDefId()
 
 
getWeaponMountId
public int getWeaponMountId()
 
 
compareTo
public int compareTo(WeaponMount other)
- Specified by:
 compareTo in interface Comparable<WeaponMount>
 
 
equals
public boolean equals(Object otherObject)
- Overrides:
 equals in class Object
 
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
getName
public String getName()
 
 
getWeaponDef
public WeaponDef getWeaponDef()
 
 
getSlavedTo
public int getSlavedTo()
 
 
getMainDir
public AIFloat3 getMainDir()
 
 
getMaxAngleDif
public float getMaxAngleDif()
 
 
getFuelUsage
public float getFuelUsage()
- How many seconds of fuel it costs for the owning unit to fire this weapon.
 
 
 
getBadTargetCategory
public int getBadTargetCategory()
 
 
getOnlyTargetCategory
public int getOnlyTargetCategory()