com.springrts.ai.oo
Class Feature

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

public class Feature
extends Object
implements Comparable<Feature>


Method Summary
 int compareTo(Feature other)
           
 boolean equals(Object otherObject)
           
 FeatureDef getDef()
           
 int getFeatureId()
           
 float getHealth()
           
 AIFloat3 getPosition()
           
 float getReclaimLeft()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getFeatureId

public int getFeatureId()

compareTo

public int compareTo(Feature other)
Specified by:
compareTo in interface Comparable<Feature>

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

getDef

public FeatureDef getDef()

getHealth

public float getHealth()

getReclaimLeft

public float getReclaimLeft()

getPosition

public AIFloat3 getPosition()