public class FGBlockadeAction extends FGDurationAction implements GenericRaidFGI.GenericPayloadAction
| Modifier and Type | Class and Description |
|---|---|
static class |
FGBlockadeAction.FGBlockadeParams |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<SectorEntityToken> |
blockadePoints |
protected boolean |
computedInitial |
protected IntervalUtil |
interval |
protected float |
origDuration |
protected FGBlockadeAction.FGBlockadeParams |
params |
protected SectorEntityToken |
primary |
protected java.util.List<MilitaryResponseScript> |
scripts |
durDays, origDurDayselapsed, finished, id, intel| Constructor and Description |
|---|
FGBlockadeAction(FGBlockadeAction.FGBlockadeParams params,
float duration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRouteSegment(RouteManager.RouteData route) |
void |
computeInitial() |
void |
directFleets(float amount) |
java.util.List<SectorEntityToken> |
getBlockadePoints() |
FGBlockadeAction.FGBlockadeParams |
getParams() |
SectorEntityToken |
getPrimary() |
float |
getSuccessFraction() |
java.awt.Color |
getSystemNameHighlightColor() |
StarSystemAPI |
getWhere() |
void |
notifyFleetsSpawnedMidSegment(RouteManager.RouteSegment segment) |
void |
notifySegmentFinished(RouteManager.RouteSegment segment) |
protected void |
orderFleetMovements() |
java.lang.Object |
readResolve() |
void |
setActionFinished(boolean finished) |
getDurDays, getEstimatedDaysToComplete, getOrigDurDays, setDurDays, setOrigDurDaysgetElapsed, getId, getIntel, isActionFinished, setElapsed, setId, setIntelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEstimatedDaysToComplete, getId, getIntel, isActionFinished, setId, setIntelprotected IntervalUtil interval
protected FGBlockadeAction.FGBlockadeParams params
protected java.util.List<SectorEntityToken> blockadePoints
protected SectorEntityToken primary
protected boolean computedInitial
protected float origDuration
protected java.util.List<MilitaryResponseScript> scripts
public FGBlockadeAction(FGBlockadeAction.FGBlockadeParams params, float duration)
public java.lang.Object readResolve()
public void computeInitial()
public void addRouteSegment(RouteManager.RouteData route)
addRouteSegment in interface FGActionaddRouteSegment in class BaseFGActionpublic void notifyFleetsSpawnedMidSegment(RouteManager.RouteSegment segment)
notifyFleetsSpawnedMidSegment in interface FGActionnotifyFleetsSpawnedMidSegment in class FGDurationActionpublic void notifySegmentFinished(RouteManager.RouteSegment segment)
notifySegmentFinished in interface FGActionnotifySegmentFinished in class BaseFGActionpublic void setActionFinished(boolean finished)
setActionFinished in interface FGActionsetActionFinished in class BaseFGActionpublic void directFleets(float amount)
directFleets in interface FGActiondirectFleets in class FGDurationActionprotected void orderFleetMovements()
public FGBlockadeAction.FGBlockadeParams getParams()
public float getSuccessFraction()
getSuccessFraction in interface GenericRaidFGI.GenericPayloadActionpublic java.awt.Color getSystemNameHighlightColor()
getSystemNameHighlightColor in interface GenericRaidFGI.GenericPayloadActionpublic StarSystemAPI getWhere()
getWhere in interface GenericRaidFGI.GenericPayloadActionpublic java.util.List<SectorEntityToken> getBlockadePoints()
public SectorEntityToken getPrimary()