public class RemnantStationFleetManager extends SourceBasedFleetManager
| Modifier and Type | Class and Description |
|---|---|
class |
RemnantStationFleetManager.RemnantSystemEPGenerator |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addedListener |
protected RemnantStationFleetManager.RemnantSystemEPGenerator |
epGen |
protected int |
maxPts |
protected int |
minPts |
protected int |
totalLost |
DEBUG, DESPAWN_MIN_DIST_LY, DESPAWN_THRESHOLD_PAD_LY, destroyed, fleets, maxFleets, minFleets, respawnDelay, source, sourceLocation, thresholdLY| Constructor and Description |
|---|
RemnantStationFleetManager(SectorEntityToken source,
float thresholdLY,
int minFleets,
int maxFleets,
float respawnDelay,
int minPts,
int maxPts) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
int |
getTotalLost() |
protected java.lang.Object |
readResolve() |
void |
reportFleetDespawnedToListener(CampaignFleetAPI fleet,
CampaignEventListener.FleetDespawnReason reason,
java.lang.Object param) |
protected CampaignFleetAPI |
spawnFleet() |
getSource, getThresholdLY, isDone, reportBattleOccurred, runWhilePaused, setDoneprotected int minPts
protected int maxPts
protected int totalLost
protected transient RemnantStationFleetManager.RemnantSystemEPGenerator epGen
protected transient boolean addedListener
public RemnantStationFleetManager(SectorEntityToken source, float thresholdLY, int minFleets, int maxFleets, float respawnDelay, int minPts, int maxPts)
protected java.lang.Object readResolve()
public void advance(float amount)
EveryFrameScriptadvance in interface EveryFrameScriptadvance in class SourceBasedFleetManageramount - seconds elapsed during the last frame.protected CampaignFleetAPI spawnFleet()
spawnFleet in class SourceBasedFleetManagerpublic void reportFleetDespawnedToListener(CampaignFleetAPI fleet, CampaignEventListener.FleetDespawnReason reason, java.lang.Object param)
reportFleetDespawnedToListener in interface FleetEventListenerreportFleetDespawnedToListener in class SourceBasedFleetManagerpublic int getTotalLost()