Class BaseEnergyLashActivatedSystem
java.lang.Object
com.fs.starfarer.api.impl.combat.BaseShipSystemScript
com.fs.starfarer.api.impl.combat.threat.BaseEnergyLashActivatedSystem
- All Implemented Interfaces:
EnergyLashActivatedSystem
,ShipSystemStatsScript
,ShipSystemStatsScriptAdvanced
- Direct Known Subclasses:
DisplacerGlowScript
,ExtractionProtocolSystemScript
,FragmentVolleySystemScript
,IncursionModeSystemScript
public abstract class BaseEnergyLashActivatedSystem
extends BaseShipSystemScript
implements EnergyLashActivatedSystem
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.plugins.ShipSystemStatsScript
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) protected abstract void
applyImpl
(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) void
hitWithEnergyLash
(ShipAPI overseer, ShipAPI ship) protected void
protected void
protected void
setStandardJitter
(ShipAPI ship, ShipSystemStatsScript.State state, float effectLevel) Methods inherited from class com.fs.starfarer.api.impl.combat.BaseShipSystemScript
getActiveOverride, getDisplayNameOverride, getInfoText, getInOverride, getOutOverride, getRegenOverride, getStatusData, getUsesOverride, isUsable, unapply
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.impl.combat.threat.EnergyLashActivatedSystem
getCurrentUsefulnessLevel
-
Field Details
-
inited
protected boolean inited
-
-
Constructor Details
-
BaseEnergyLashActivatedSystem
public BaseEnergyLashActivatedSystem()
-
-
Method Details
-
init
-
apply
public void apply(MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) - Specified by:
apply
in interfaceShipSystemStatsScript
- Overrides:
apply
in classBaseShipSystemScript
-
applyImpl
protected abstract void applyImpl(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) -
hitWithEnergyLash
- Specified by:
hitWithEnergyLash
in interfaceEnergyLashActivatedSystem
-
setStandardJitter
protected void setStandardJitter(ShipAPI ship, ShipSystemStatsScript.State state, float effectLevel) -
makeAllGroupsAutofireOneFrame
-