|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.springrts.ai.oo.Shield
public class Shield
Method Summary | |
---|---|
int |
compareTo(Shield other)
|
boolean |
equals(Object otherObject)
|
float |
getAlpha()
The shields alpha value. |
AIFloat3 |
getBadColor()
The color of the shield when it is empty. |
float |
getForce()
Shield acceleration on plasma stuff. |
AIFloat3 |
getGoodColor()
The color of the shield when it is at full power. |
int |
getInterceptType()
The type of the shield (bitfield). |
float |
getMaxSpeed()
Maximum speed to which the shield can repulse plasma. |
float |
getPower()
Amount of damage the shield can reflect. |
float |
getPowerRegen()
Amount of power that is regenerated per second. |
float |
getPowerRegenResource(Resource c_resourceId)
How much of a given resource is needed to regenerate power with max speed per second. |
float |
getRadius()
Size of shield covered area |
int |
getRechargeDelay()
Number of frames to delay recharging by after each hit. |
float |
getResourceUse(Resource c_resourceId)
Amount of the resource used per shot or per second, depending on the type of projectile. |
float |
getStartingPower()
How much power the shield has when it is created. |
int |
getWeaponDefId()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getWeaponDefId()
public int compareTo(Shield other)
compareTo
in interface Comparable<Shield>
public boolean equals(Object otherObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public float getResourceUse(Resource c_resourceId)
public float getRadius()
public float getForce()
public float getMaxSpeed()
public float getPower()
public float getPowerRegen()
public float getPowerRegenResource(Resource c_resourceId)
public float getStartingPower()
public int getRechargeDelay()
public AIFloat3 getGoodColor()
public AIFloat3 getBadColor()
public float getAlpha()
public int getInterceptType()
getInterceptedByShieldType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |