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)
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.