public class DistressCallResponsePirateAssignmentAI extends BaseAssignmentAI
BaseAssignmentAI.FleetActionDelegate| Modifier and Type | Field and Description |
|---|---|
protected boolean |
contactedPlayer |
protected float |
dur |
protected float |
elapsed |
protected JumpPointAPI |
inner |
protected JumpPointAPI |
outer |
protected StarSystemAPI |
system |
buildTracker, capTracker, delegate, done, fleet, giveInitial, raidTracker, TEMP_ASSIGNMENT, TEMP_BUSY_REASON| Constructor and Description |
|---|
DistressCallResponsePirateAssignmentAI(CampaignFleetAPI fleet,
StarSystemAPI system,
JumpPointAPI inner,
JumpPointAPI outer) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
protected void |
giveInitialAssignments() |
protected void |
pickNext() |
canTakeAction, checkBuild, checkCapture, checkColonyAction, checkObjectiveAction, checkRaid, clearTempAssignments, getDelegate, giveBuildOrder, giveCaptureOrder, giveRaidOrder, isDone, runWhilePaused, setDelegate, setDoneprotected StarSystemAPI system
protected float elapsed
protected float dur
protected boolean contactedPlayer
protected final JumpPointAPI inner
protected final JumpPointAPI outer
public DistressCallResponsePirateAssignmentAI(CampaignFleetAPI fleet, StarSystemAPI system, JumpPointAPI inner, JumpPointAPI outer)
protected void giveInitialAssignments()
giveInitialAssignments in class BaseAssignmentAIprotected void pickNext()
pickNext in class BaseAssignmentAIpublic void advance(float amount)
EveryFrameScriptadvance in interface EveryFrameScriptadvance in class BaseAssignmentAIamount - seconds elapsed during the last frame.