Class PhaseAnchor.PhaseAnchorScript
java.lang.Object
com.fs.starfarer.api.impl.hullmods.PhaseAnchor.PhaseAnchorScript
- All Implemented Interfaces:
AdvanceableListener
,HullDamageAboutToBeTakenListener
- Enclosing class:
- PhaseAnchor
public static class PhaseAnchor.PhaseAnchorScript
extends Object
implements AdvanceableListener, HullDamageAboutToBeTakenListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) boolean
notifyAboutToTakeHullDamage
(Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount) if true is returned, the hull damage to be taken is negated.
-
Field Details
-
ship
-
emergencyDive
public boolean emergencyDive -
diveProgress
public float diveProgress -
diveFader
-
-
Constructor Details
-
PhaseAnchorScript
-
-
Method Details
-
notifyAboutToTakeHullDamage
public boolean notifyAboutToTakeHullDamage(Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount) Description copied from interface:HullDamageAboutToBeTakenListener
if true is returned, the hull damage to be taken is negated.- Specified by:
notifyAboutToTakeHullDamage
in interfaceHullDamageAboutToBeTakenListener
- Returns:
-
advance
public void advance(float amount) - Specified by:
advance
in interfaceAdvanceableListener
-