public class LuddicPathBaseManager extends BaseEventManager
Modifier and Type | Field and Description |
---|---|
protected int |
activeMod |
static float |
AI_CORE_ADMIN_INTEREST |
protected IntervalUtil |
cellChecker |
protected java.util.LinkedHashMap<MarketAPI,LuddicPathCellsIntel> |
cells |
static float |
CHECK_DAYS |
static float |
CHECK_PROB |
static float |
INERTIA_DAYS_MAX |
static float |
INERTIA_DAYS_MIN |
static java.lang.String |
KEY |
protected int |
numDestroyed |
protected int |
numSpawnChecksToSkip |
protected java.util.Random |
random |
protected int |
sleeperMod |
protected long |
start |
protected int |
timesSinceLastChange |
active, currMax, randomBase, tracker, trackerMax
Constructor and Description |
---|
LuddicPathBaseManager() |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
protected EveryFrameScript |
createEvent() |
protected float |
getBaseInterval() |
static LuddicPathBaseManager |
getInstance() |
static float |
getLuddicPathMarketInterest(MarketAPI market) |
protected int |
getMaxConcurrent() |
protected int |
getMinConcurrent() |
void |
incrDestroyed() |
protected StarSystemAPI |
pickSystemForLPBase() |
protected java.lang.Object |
readResolve() |
protected void |
updateCellStatus() |
addActive, belowMax, getActive, getActiveCount, getCurrMax, getHardLimit, getIntervalRateMult, getOngoing, getTracker, getUpdateMaxInterval, isDone, runWhilePaused, updateMax
public static float AI_CORE_ADMIN_INTEREST
public static final java.lang.String KEY
public static final float INERTIA_DAYS_MAX
public static final float INERTIA_DAYS_MIN
public static final float CHECK_DAYS
public static final float CHECK_PROB
protected long start
protected IntervalUtil cellChecker
protected int timesSinceLastChange
protected int activeMod
protected int sleeperMod
protected java.util.LinkedHashMap<MarketAPI,LuddicPathCellsIntel> cells
protected java.util.Random random
protected int numDestroyed
protected int numSpawnChecksToSkip
public static LuddicPathBaseManager getInstance()
protected int getMinConcurrent()
getMinConcurrent
in class BaseEventManager
protected int getMaxConcurrent()
getMaxConcurrent
in class BaseEventManager
protected float getBaseInterval()
getBaseInterval
in class BaseEventManager
protected java.lang.Object readResolve()
readResolve
in class BaseEventManager
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
advance
in class BaseEventManager
amount
- seconds elapsed during the last frame.protected void updateCellStatus()
public static float getLuddicPathMarketInterest(MarketAPI market)
protected EveryFrameScript createEvent()
createEvent
in class BaseEventManager
protected StarSystemAPI pickSystemForLPBase()
public void incrDestroyed()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.