|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.springrts.ai.oo.FeatureDef
public class FeatureDef
Method Summary | |
---|---|
int |
compareTo(FeatureDef other)
|
boolean |
equals(Object otherObject)
|
CollisionVolume |
getCollisionVolume()
|
float |
getContainedResource(Resource c_resourceId)
|
Map<String,String> |
getCustomParams()
|
String |
getDeathFeature()
Name of the FeatureDef that this turns into when killed (not reclaimed). |
String |
getDescription()
|
int |
getDrawType()
|
int |
getFeatureDefId()
|
String |
getFileName()
|
float |
getMass()
Used to see if the object can be overrun by units of a certain heavyness |
float |
getMaxHealth()
|
String |
getModelName()
|
String |
getName()
|
float |
getReclaimTime()
|
int |
getResurrectable()
Used to determine whether the feature is resurrectable. |
int |
getSmokeTime()
|
int |
getXSize()
Size of the feature along the X axis - in other words: height. |
int |
getZSize()
Size of the feature along the Z axis - in other words: width. |
int |
hashCode()
|
boolean |
isBlocking()
|
boolean |
isBurnable()
|
boolean |
isDestructable()
|
boolean |
isFloating()
|
boolean |
isGeoThermal()
|
boolean |
isNoSelect()
|
boolean |
isReclaimable()
|
boolean |
isUpright()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getFeatureDefId()
public int compareTo(FeatureDef other)
compareTo
in interface Comparable<FeatureDef>
public boolean equals(Object otherObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public String getName()
public String getDescription()
public String getFileName()
public float getContainedResource(Resource c_resourceId)
public float getMaxHealth()
public float getReclaimTime()
public float getMass()
public boolean isUpright()
public int getDrawType()
public String getModelName()
public int getResurrectable()
public int getSmokeTime()
public boolean isDestructable()
public boolean isReclaimable()
public boolean isBlocking()
public boolean isBurnable()
public boolean isFloating()
public boolean isNoSelect()
public boolean isGeoThermal()
public String getDeathFeature()
public int getXSize()
public int getZSize()
public Map<String,String> getCustomParams()
public CollisionVolume getCollisionVolume()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |