public static class HubMissionWithTriggers.AddTagAfterDelay extends java.lang.Object implements MissionTrigger.TriggerAction, EveryFrameScript
Modifier and Type | Field and Description |
---|---|
protected float |
delay |
protected StarSystemAPI |
system |
protected java.lang.String |
tag |
Constructor and Description |
---|
HubMissionWithTriggers.AddTagAfterDelay(float delay,
StarSystemAPI system,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
void |
doAction(MissionTrigger.TriggerActionContext context) |
boolean |
isDone() |
boolean |
runWhilePaused() |
protected java.lang.String tag
protected float delay
protected StarSystemAPI system
public HubMissionWithTriggers.AddTagAfterDelay(float delay, StarSystemAPI system, java.lang.String tag)
public void doAction(MissionTrigger.TriggerActionContext context)
doAction
in interface MissionTrigger.TriggerAction
public boolean isDone()
isDone
in interface EveryFrameScript
public boolean runWhilePaused()
runWhilePaused
in interface EveryFrameScript
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
amount
- seconds elapsed during the last frame.Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.