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