public abstract class PlayerVisibleFleetManager extends BaseLimitedFleetManager
BaseLimitedFleetManager.ManagedFleetData
Modifier and Type | Field and Description |
---|---|
protected IntervalUtil |
despawnTracker |
active, log, tracker
Constructor and Description |
---|
PlayerVisibleFleetManager() |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
protected float |
getHyperspaceCullRange() |
protected float |
getInSystemCullRange() |
protected abstract boolean |
isOkToDespawnAssumingNotPlayerVisible(CampaignFleetAPI fleet) |
protected boolean |
isVisibleToPlayer(CampaignFleetAPI fleet) |
protected java.lang.Object |
readResolve() |
getMaxFleets, getNextInterval, getSpawnRateMult, isDone, reportBattleOccurred, reportFleetDespawned, reportFleetDespawnedToListener, runWhilePaused, spawnFleet
protected IntervalUtil despawnTracker
protected java.lang.Object readResolve()
readResolve
in class BaseLimitedFleetManager
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
advance
in class BaseLimitedFleetManager
amount
- seconds elapsed during the last frame.protected abstract boolean isOkToDespawnAssumingNotPlayerVisible(CampaignFleetAPI fleet)
protected boolean isVisibleToPlayer(CampaignFleetAPI fleet)
protected float getHyperspaceCullRange()
protected float getInSystemCullRange()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.