|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.springrts.ai.oo.FlankingBonus
public class FlankingBonus
Method Summary | |
---|---|
int |
compareTo(FlankingBonus other)
|
boolean |
equals(Object otherObject)
|
AIFloat3 |
getDir()
The unit takes less damage when attacked from this direction. |
float |
getMax()
Damage factor for the least protected direction |
float |
getMin()
Damage factor for the most protected direction |
float |
getMobilityAdd()
How much the ability of the flanking bonus direction to move builds up each frame. |
int |
getMode()
The flanking bonus indicates how much additional damage you can inflict to a unit, if it gets attacked from different directions. |
int |
getUnitDefId()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getUnitDefId()
public int compareTo(FlankingBonus other)
compareTo
in interface Comparable<FlankingBonus>
public boolean equals(Object otherObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public int getMode()
public AIFloat3 getDir()
public float getMax()
public float getMin()
public float getMobilityAdd()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |