public class GBLeviathanCalfRun extends BaseGhostBehavior implements GBIGenerateSlipstream.GhostBehaviorWithSlipstream
Modifier and Type | Field and Description |
---|---|
protected boolean |
affectedByPulse |
protected float |
burnBonus |
protected float |
dir |
protected boolean |
dirSet |
protected SectorEntityToken |
from |
protected int |
maxBurn |
protected float |
maxWobble |
protected int |
origPluginBurn |
protected float |
phase |
protected SlipstreamTerrainPlugin2 |
plugin |
static float |
PULSE_BURN_BONUS |
static float |
PULSE_BURN_BONUS_DECAY |
static float |
SENSOR_BURST_TURN_RATE |
protected float |
wobbleRate |
duration, interrupts
Constructor and Description |
---|
GBLeviathanCalfRun(float duration,
SectorEntityToken from,
float wobbleRate,
float maxWobble,
int maxBurn,
boolean affectedByPulse) |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount,
SensorGhost ghost) |
void |
checkInterdictionPulses(SensorGhost ghost) |
void |
checkSensorBursts(SensorGhost ghost,
float amount) |
void |
setSlipstream(SlipstreamTerrainPlugin2 plugin) |
addInterrupt, end, isDone
public static float SENSOR_BURST_TURN_RATE
public static float PULSE_BURN_BONUS
public static float PULSE_BURN_BONUS_DECAY
protected boolean dirSet
protected float dir
protected float burnBonus
protected int origPluginBurn
protected SectorEntityToken from
protected float phase
protected int maxBurn
protected SlipstreamTerrainPlugin2 plugin
protected boolean affectedByPulse
protected float wobbleRate
protected float maxWobble
public GBLeviathanCalfRun(float duration, SectorEntityToken from, float wobbleRate, float maxWobble, int maxBurn, boolean affectedByPulse)
public void advance(float amount, SensorGhost ghost)
advance
in interface GhostBehavior
advance
in class BaseGhostBehavior
public void checkInterdictionPulses(SensorGhost ghost)
public void checkSensorBursts(SensorGhost ghost, float amount)
public void setSlipstream(SlipstreamTerrainPlugin2 plugin)
setSlipstream
in interface GBIGenerateSlipstream.GhostBehaviorWithSlipstream
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.