public class HegemonyInspectionManager extends java.lang.Object implements EveryFrameScript
Modifier and Type | Field and Description |
---|---|
static float |
FREQ_MULT |
protected IntervalUtil |
inspectionChecker |
protected float |
inspectionDelay |
protected HegemonyInspectionIntel |
intel |
static java.lang.String |
KEY |
static float |
MAX_THRESHOLD |
protected int |
numAttempts |
protected java.util.Random |
random |
protected float |
suspicion |
protected float |
threshold |
Constructor and Description |
---|
HegemonyInspectionManager() |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
protected void |
checkInspection() |
void |
createInspection() |
void |
createInspection(java.lang.Integer fpOverride) |
static float |
getAICoreUseValue(MarketAPI market) |
static HegemonyInspectionManager |
getInstance() |
int |
getNumAttempts() |
float |
getThreshold() |
boolean |
isDone() |
protected java.lang.Object |
readResolve() |
boolean |
runWhilePaused() |
public static final java.lang.String KEY
public static final float MAX_THRESHOLD
public static final float FREQ_MULT
protected IntervalUtil inspectionChecker
protected float suspicion
protected float threshold
protected float inspectionDelay
protected int numAttempts
protected java.util.Random random
protected HegemonyInspectionIntel intel
public static HegemonyInspectionManager getInstance()
protected java.lang.Object readResolve()
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
amount
- seconds elapsed during the last frame.protected void checkInspection()
public void createInspection()
public void createInspection(java.lang.Integer fpOverride)
public int getNumAttempts()
public static float getAICoreUseValue(MarketAPI market)
public boolean isDone()
isDone
in interface EveryFrameScript
public boolean runWhilePaused()
runWhilePaused
in interface EveryFrameScript
public float getThreshold()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.