Class FGBlockadeAction
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.group.BaseFGAction
com.fs.starfarer.api.impl.campaign.intel.group.FGDurationAction
com.fs.starfarer.api.impl.campaign.intel.group.FGBlockadeAction
- All Implemented Interfaces:
FGAction
,GenericRaidFGI.GenericPayloadAction
- Direct Known Subclasses:
FGBlockadePlanetAction
public class FGBlockadeAction
extends FGDurationAction
implements GenericRaidFGI.GenericPayloadAction
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SectorEntityToken>
protected boolean
protected IntervalUtil
protected float
protected FGBlockadeAction.FGBlockadeParams
protected SectorEntityToken
protected List<MilitaryResponseScript>
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.group.FGDurationAction
durDays, origDurDays
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
void
void
directFleets
(float amount) float
getWhere()
void
void
protected void
void
setActionFinished
(boolean finished) Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.group.FGDurationAction
getDurDays, getEstimatedDaysToComplete, getOrigDurDays, setDurDays, setOrigDurDays
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.group.BaseFGAction
getElapsed, getId, getIntel, isActionFinished, setElapsed, setId, setIntel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.impl.campaign.intel.group.FGAction
getEstimatedDaysToComplete, getId, getIntel, isActionFinished, setId, setIntel
-
Field Details
-
interval
-
params
-
blockadePoints
-
-
computedInitial
protected boolean computedInitial -
origDuration
protected float origDuration -
scripts
-
-
Constructor Details
-
FGBlockadeAction
-
-
Method Details
-
readResolve
-
computeInitial
public void computeInitial() -
addRouteSegment
- Specified by:
addRouteSegment
in interfaceFGAction
- Overrides:
addRouteSegment
in classBaseFGAction
-
notifyFleetsSpawnedMidSegment
- Specified by:
notifyFleetsSpawnedMidSegment
in interfaceFGAction
- Overrides:
notifyFleetsSpawnedMidSegment
in classFGDurationAction
-
notifySegmentFinished
- Specified by:
notifySegmentFinished
in interfaceFGAction
- Overrides:
notifySegmentFinished
in classBaseFGAction
-
setActionFinished
public void setActionFinished(boolean finished) - Specified by:
setActionFinished
in interfaceFGAction
- Overrides:
setActionFinished
in classBaseFGAction
-
directFleets
public void directFleets(float amount) - Specified by:
directFleets
in interfaceFGAction
- Overrides:
directFleets
in classFGDurationAction
-
orderFleetMovements
protected void orderFleetMovements() -
getParams
-
getSuccessFraction
public float getSuccessFraction()- Specified by:
getSuccessFraction
in interfaceGenericRaidFGI.GenericPayloadAction
-
getSystemNameHighlightColor
- Specified by:
getSystemNameHighlightColor
in interfaceGenericRaidFGI.GenericPayloadAction
-
getWhere
- Specified by:
getWhere
in interfaceGenericRaidFGI.GenericPayloadAction
-
getBlockadePoints
-
getPrimary
-