public class HyperStormBoost extends java.lang.Object implements EveryFrameScript
Modifier and Type | Field and Description |
---|---|
protected float |
angle |
protected HyperspaceTerrainPlugin.CellStateTracker |
cell |
static float |
DURATION_SECONDS |
protected float |
elapsed |
protected CampaignFleetAPI |
fleet |
static float |
MAX_BURN |
static float |
STORM_SPEED_BURST |
Constructor and Description |
---|
HyperStormBoost(HyperspaceTerrainPlugin.CellStateTracker cell,
CampaignFleetAPI fleet) |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
boolean |
isDone() |
boolean |
runWhilePaused() |
public static float MAX_BURN
public static float STORM_SPEED_BURST
public static float DURATION_SECONDS
protected CampaignFleetAPI fleet
protected float elapsed
protected float angle
protected HyperspaceTerrainPlugin.CellStateTracker cell
public HyperStormBoost(HyperspaceTerrainPlugin.CellStateTracker cell, CampaignFleetAPI fleet)
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
amount
- seconds elapsed during the last frame.public boolean isDone()
isDone
in interface EveryFrameScript
public boolean runWhilePaused()
runWhilePaused
in interface EveryFrameScript
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.