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, setDone
protected 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)
EveryFrameScript
advance
in interface EveryFrameScript
advance
in class SourceBasedFleetManager
amount
- seconds elapsed during the last frame.protected CampaignFleetAPI spawnFleet()
spawnFleet
in class SourceBasedFleetManager
public void reportFleetDespawnedToListener(CampaignFleetAPI fleet, CampaignEventListener.FleetDespawnReason reason, java.lang.Object param)
reportFleetDespawnedToListener
in interface FleetEventListener
reportFleetDespawnedToListener
in class SourceBasedFleetManager
public int getTotalLost()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.