public class ZigLeashAssignmentAI extends BaseAssignmentAI
BaseAssignmentAI.FleetActionDelegate| Modifier and Type | Field and Description |
|---|---|
protected float |
dur |
protected float |
elapsed |
protected IntervalUtil |
moteSpawn |
protected SectorEntityToken |
toGuard |
buildTracker, capTracker, delegate, done, fleet, giveInitial, raidTracker, TEMP_ASSIGNMENT, TEMP_BUSY_REASON| Constructor and Description |
|---|
ZigLeashAssignmentAI(CampaignFleetAPI fleet,
SectorEntityToken toGuard) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
protected void |
giveInitialAssignments() |
protected void |
pickNext() |
static void |
spawnMote(SectorEntityToken from) |
canTakeAction, checkBuild, checkCapture, checkColonyAction, checkObjectiveAction, checkRaid, clearTempAssignments, getDelegate, giveBuildOrder, giveCaptureOrder, giveRaidOrder, isDone, runWhilePaused, setDelegate, setDoneprotected float elapsed
protected float dur
protected SectorEntityToken toGuard
protected IntervalUtil moteSpawn
public ZigLeashAssignmentAI(CampaignFleetAPI fleet, SectorEntityToken toGuard)
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.public static void spawnMote(SectorEntityToken from)