Class BaseFGAction
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.group.BaseFGAction
- All Implemented Interfaces:
FGAction
- Direct Known Subclasses:
FGDurationAction
,FGTravelAction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
directFleets
(float amount) float
float
getId()
getIntel()
boolean
void
void
void
setActionFinished
(boolean finished) void
setElapsed
(float elapsed) void
Not required for every action.void
setIntel
(FleetGroupIntel intel)
-
Field Details
-
intel
-
id
-
finished
protected boolean finished -
elapsed
protected float elapsed
-
-
Constructor Details
-
BaseFGAction
public BaseFGAction()
-
-
Method Details
-
addRouteSegment
- Specified by:
addRouteSegment
in interfaceFGAction
-
getIntel
-
setIntel
-
directFleets
public void directFleets(float amount) - Specified by:
directFleets
in interfaceFGAction
-
isActionFinished
public boolean isActionFinished()- Specified by:
isActionFinished
in interfaceFGAction
-
setActionFinished
public void setActionFinished(boolean finished) - Specified by:
setActionFinished
in interfaceFGAction
-
notifySegmentFinished
- Specified by:
notifySegmentFinished
in interfaceFGAction
-
notifyFleetsSpawnedMidSegment
- Specified by:
notifyFleetsSpawnedMidSegment
in interfaceFGAction
-
getId
-
setId
Description copied from interface:FGAction
Not required for every action. -
getElapsed
public float getElapsed() -
setElapsed
public void setElapsed(float elapsed) -
getEstimatedDaysToComplete
public float getEstimatedDaysToComplete()- Specified by:
getEstimatedDaysToComplete
in interfaceFGAction
-