public class BaseFGAction extends java.lang.Object implements FGAction
Modifier and Type | Field and Description |
---|---|
protected float |
elapsed |
protected boolean |
finished |
protected java.lang.String |
id |
protected FleetGroupIntel |
intel |
Constructor and Description |
---|
BaseFGAction() |
Modifier and Type | Method and Description |
---|---|
void |
addRouteSegment(RouteManager.RouteData route) |
void |
directFleets(float amount) |
float |
getElapsed() |
float |
getEstimatedDaysToComplete() |
java.lang.String |
getId() |
FleetGroupIntel |
getIntel() |
boolean |
isActionFinished() |
void |
notifyFleetsSpawnedMidSegment(RouteManager.RouteSegment segment) |
void |
notifySegmentFinished(RouteManager.RouteSegment segment) |
void |
setActionFinished(boolean finished) |
void |
setElapsed(float elapsed) |
void |
setId(java.lang.String id)
Not required for every action.
|
void |
setIntel(FleetGroupIntel intel) |
protected FleetGroupIntel intel
protected java.lang.String id
protected boolean finished
protected float elapsed
public void addRouteSegment(RouteManager.RouteData route)
addRouteSegment
in interface FGAction
public FleetGroupIntel getIntel()
public void setIntel(FleetGroupIntel intel)
public void directFleets(float amount)
directFleets
in interface FGAction
public boolean isActionFinished()
isActionFinished
in interface FGAction
public void setActionFinished(boolean finished)
setActionFinished
in interface FGAction
public void notifySegmentFinished(RouteManager.RouteSegment segment)
notifySegmentFinished
in interface FGAction
public void notifyFleetsSpawnedMidSegment(RouteManager.RouteSegment segment)
notifyFleetsSpawnedMidSegment
in interface FGAction
public void setId(java.lang.String id)
FGAction
public float getElapsed()
public void setElapsed(float elapsed)
public float getEstimatedDaysToComplete()
getEstimatedDaysToComplete
in interface FGAction
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.