public class GateExplosionScript extends java.lang.Object implements EveryFrameScript
| Modifier and Type | Class and Description |
|---|---|
static class |
GateExplosionScript.SystemCutOffRemoverScript |
| Modifier and Type | Field and Description |
|---|---|
protected float |
delay |
protected float |
delay2 |
protected boolean |
done |
protected SectorEntityToken |
explosion |
protected SectorEntityToken |
gate |
protected boolean |
playedWindup |
static float |
UNSTABLE_DAYS_MAX |
static float |
UNSTABLE_DAYS_MIN |
| Constructor and Description |
|---|
GateExplosionScript(SectorEntityToken gate) |
| 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 UNSTABLE_DAYS_MIN
public static float UNSTABLE_DAYS_MAX
protected boolean done
protected boolean playedWindup
protected SectorEntityToken explosion
protected float delay
protected float delay2
protected SectorEntityToken gate
public GateExplosionScript(SectorEntityToken gate)
public void advance(float amount)
EveryFrameScriptadvance in interface EveryFrameScriptamount - seconds elapsed during the last frame.public boolean isDone()
isDone in interface EveryFrameScriptpublic boolean runWhilePaused()
runWhilePaused in interface EveryFrameScript