public static class PhaseAnchor.PhaseAnchorScript extends java.lang.Object implements AdvanceableListener, HullDamageAboutToBeTakenListener
| Modifier and Type | Field and Description |
|---|---|
FaderUtil |
diveFader |
float |
diveProgress |
boolean |
emergencyDive |
ShipAPI |
ship |
| Constructor and Description |
|---|
PhaseAnchorScript(ShipAPI ship) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount) |
boolean |
notifyAboutToTakeHullDamage(java.lang.Object param,
ShipAPI ship,
org.lwjgl.util.vector.Vector2f point,
float damageAmount)
if true is returned, the hull damage to be taken is negated.
|
public boolean emergencyDive
public float diveProgress
public PhaseAnchorScript(ShipAPI ship)
public boolean notifyAboutToTakeHullDamage(java.lang.Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount)
HullDamageAboutToBeTakenListenernotifyAboutToTakeHullDamage in interface HullDamageAboutToBeTakenListenerpublic void advance(float amount)
advance in interface AdvanceableListener