public class MissionFleetInterceptPlayerIfNearby extends java.lang.Object implements EveryFrameScript
Modifier and Type | Field and Description |
---|---|
protected float |
delay |
protected float |
delayRemaining |
protected boolean |
done |
protected CampaignFleetAPI |
fleet |
protected IntervalUtil |
interval |
protected float |
maxRange |
protected BaseHubMission |
mission |
protected boolean |
mustBeStrongEnoughToFight |
protected boolean |
repeatable |
protected java.util.Set<java.lang.Object> |
stages |
Constructor and Description |
---|
MissionFleetInterceptPlayerIfNearby(CampaignFleetAPI fleet,
BaseHubMission mission,
boolean mustBeStrongEnoughToFight,
float maxRange,
boolean repeatable,
float repeatDelay,
java.util.List<java.lang.Object> stages) |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
boolean |
isDone() |
boolean |
runWhilePaused() |
protected CampaignFleetAPI fleet
protected BaseHubMission mission
protected java.util.Set<java.lang.Object> stages
protected boolean done
protected float delay
protected float delayRemaining
protected float maxRange
protected boolean repeatable
protected boolean mustBeStrongEnoughToFight
protected IntervalUtil interval
public MissionFleetInterceptPlayerIfNearby(CampaignFleetAPI fleet, BaseHubMission mission, boolean mustBeStrongEnoughToFight, float maxRange, boolean repeatable, float repeatDelay, java.util.List<java.lang.Object> stages)
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.