com.springrts.ai.oo
Class WeaponMount

java.lang.Object
  extended by com.springrts.ai.oo.WeaponMount
All Implemented Interfaces:
Comparable<WeaponMount>

public class WeaponMount
extends Object
implements Comparable<WeaponMount>


Method Summary
 int compareTo(WeaponMount other)
           
 boolean equals(Object otherObject)
           
 int getBadTargetCategory()
           
 float getFuelUsage()
          How many seconds of fuel it costs for the owning unit to fire this weapon.
 AIFloat3 getMainDir()
           
 float getMaxAngleDif()
           
 String getName()
           
 int getOnlyTargetCategory()
           
 int getSlavedTo()
           
 int getUnitDefId()
           
 WeaponDef getWeaponDef()
           
 int getWeaponMountId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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()