public static class HubMissionWithTriggers.SetMemoryValueAfterDelay extends java.lang.Object implements MissionTrigger.TriggerAction, EveryFrameScript
Modifier and Type | Field and Description |
---|---|
protected float |
delay |
protected java.lang.String |
key |
protected MemoryAPI |
memory |
protected java.lang.Object |
value |
Constructor and Description |
---|
HubMissionWithTriggers.SetMemoryValueAfterDelay(float delay,
MemoryAPI memory,
java.lang.String key,
java.lang.Object value) |
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 key
protected java.lang.Object value
protected MemoryAPI memory
protected float delay
public HubMissionWithTriggers.SetMemoryValueAfterDelay(float delay, MemoryAPI memory, java.lang.String key, java.lang.Object value)
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.