Class GBLeviathanCalfRun
java.lang.Object
com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
com.fs.starfarer.api.impl.campaign.ghosts.GBLeviathanCalfRun
- All Implemented Interfaces:
GBIGenerateSlipstream.GhostBehaviorWithSlipstream
,GhostBehavior
public class GBLeviathanCalfRun
extends BaseGhostBehavior
implements GBIGenerateSlipstream.GhostBehaviorWithSlipstream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected float
protected float
protected boolean
protected SectorEntityToken
protected int
protected float
protected int
protected float
protected SlipstreamTerrainPlugin2
static float
static float
static float
protected float
Fields inherited from class com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
duration, interrupts
-
Constructor Summary
ConstructorsConstructorDescriptionGBLeviathanCalfRun
(float duration, SectorEntityToken from, float wobbleRate, float maxWobble, int maxBurn, boolean affectedByPulse) -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount, SensorGhost ghost) void
void
checkSensorBursts
(SensorGhost ghost, float amount) void
Methods inherited from class com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
addInterrupt, end, isDone
-
Field Details
-
SENSOR_BURST_TURN_RATE
public static float SENSOR_BURST_TURN_RATE -
PULSE_BURN_BONUS
public static float PULSE_BURN_BONUS -
PULSE_BURN_BONUS_DECAY
public static float PULSE_BURN_BONUS_DECAY -
dirSet
protected boolean dirSet -
dir
protected float dir -
burnBonus
protected float burnBonus -
origPluginBurn
protected int origPluginBurn -
from
-
phase
protected float phase -
maxBurn
protected int maxBurn -
plugin
-
affectedByPulse
protected boolean affectedByPulse -
wobbleRate
protected float wobbleRate -
maxWobble
protected float maxWobble
-
-
Constructor Details
-
GBLeviathanCalfRun
public GBLeviathanCalfRun(float duration, SectorEntityToken from, float wobbleRate, float maxWobble, int maxBurn, boolean affectedByPulse)
-
-
Method Details
-
advance
- Specified by:
advance
in interfaceGhostBehavior
- Overrides:
advance
in classBaseGhostBehavior
-
checkInterdictionPulses
-
checkSensorBursts
-
setSlipstream
- Specified by:
setSlipstream
in interfaceGBIGenerateSlipstream.GhostBehaviorWithSlipstream
-