Class FGTravelAction
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.group.BaseFGAction
com.fs.starfarer.api.impl.campaign.intel.group.FGTravelAction
- All Implemented Interfaces:
FGAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected SectorEntityToken
protected IntervalUtil
protected String
protected SectorEntityToken
protected String
protected String
protected String
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.group.BaseFGAction
elapsed, finished, id, intel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static float
computeETADays
(CampaignFleetAPI fleet, SectorEntityToken dest) void
directFleets
(float amount) float
getFrom()
getTo()
boolean
void
void
void
setDoNotGetSidetracked
(boolean doNotGetSidetracked) void
setFrom
(SectorEntityToken from) void
setRendezvousTravelText
(String rendezvousTravelText) void
void
setTravelText
(String travelText) void
setWaitingAtDestinationText
(String waitingAtDestinationText) void
setWaitingRendezvousText
(String waitingRendezvousText) Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.group.BaseFGAction
getElapsed, getId, getIntel, isActionFinished, setActionFinished, setElapsed, setId, setIntel
-
Field Details
-
from
-
to
-
interval
-
travelText
-
waitingAtDestinationText
-
rendezvousTravelText
-
waitingRendezvousText
-
doNotGetSidetracked
protected boolean doNotGetSidetracked
-
-
Constructor Details
-
FGTravelAction
-
-
Method Details
-
addRouteSegment
- Specified by:
addRouteSegment
in interfaceFGAction
- Overrides:
addRouteSegment
in classBaseFGAction
-
computeETADays
-
getEstimatedDaysToComplete
public float getEstimatedDaysToComplete()- Specified by:
getEstimatedDaysToComplete
in interfaceFGAction
- Overrides:
getEstimatedDaysToComplete
in classBaseFGAction
-
notifySegmentFinished
- Specified by:
notifySegmentFinished
in interfaceFGAction
- Overrides:
notifySegmentFinished
in classBaseFGAction
-
notifyFleetsSpawnedMidSegment
- Specified by:
notifyFleetsSpawnedMidSegment
in interfaceFGAction
- Overrides:
notifyFleetsSpawnedMidSegment
in classBaseFGAction
-
directFleets
public void directFleets(float amount) - Specified by:
directFleets
in interfaceFGAction
- Overrides:
directFleets
in classBaseFGAction
-
getTravelText
-
setTravelText
-
getWaitingAtDestinationText
-
setWaitingAtDestinationText
-
getRendezvousTravelText
-
setRendezvousTravelText
-
getWaitingRendezvousText
-
setWaitingRendezvousText
-
getFrom
-
getTo
-
setFrom
-
setTo
-
isDoNotGetSidetracked
public boolean isDoNotGetSidetracked() -
setDoNotGetSidetracked
public void setDoNotGetSidetracked(boolean doNotGetSidetracked)
-