public class RemnantAssignmentAI extends java.lang.Object implements EveryFrameScript
| Modifier and Type | Field and Description |
|---|---|
protected CampaignFleetAPI |
fleet |
protected StarSystemAPI |
homeSystem |
protected SectorEntityToken |
source |
| Constructor and Description |
|---|
RemnantAssignmentAI(CampaignFleetAPI fleet,
StarSystemAPI homeSystem,
SectorEntityToken source) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
protected void |
giveInitialAssignments() |
boolean |
isDone() |
protected void |
pickNext() |
boolean |
runWhilePaused() |
protected StarSystemAPI homeSystem
protected CampaignFleetAPI fleet
protected SectorEntityToken source
public RemnantAssignmentAI(CampaignFleetAPI fleet, StarSystemAPI homeSystem, SectorEntityToken source)
protected void giveInitialAssignments()
protected void pickNext()
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