public class HTFactorTracker extends java.lang.Object implements EveryFrameScript
| Modifier and Type | Field and Description |
|---|---|
protected float |
burnBasedPoints |
protected boolean |
canCheckSB |
static float |
CHECK_DAYS |
protected float |
daysSinceAtHighBurn |
protected IntervalUtil |
interval |
protected java.util.LinkedHashSet<java.lang.String> |
scanned |
| Constructor and Description |
|---|
HTFactorTracker() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMessage(java.lang.String text) |
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
protected void |
checkBlackHole(SectorEntityToken entity) |
protected void |
checkGasGiant(SectorEntityToken entity) |
protected void |
checkHighBurn(float days) |
protected void |
checkIonStorm(SectorEntityToken entity) |
protected void |
checkMagneticField(CampaignTerrainAPI terrain) |
protected void |
checkPulsar(SectorEntityToken entity) |
void |
checkSensorBursts() |
protected void |
checkSystemCenter() |
boolean |
isDone() |
protected java.lang.Object |
readResolve() |
boolean |
runWhilePaused() |
public static float CHECK_DAYS
protected IntervalUtil interval
protected float burnBasedPoints
protected float daysSinceAtHighBurn
protected boolean canCheckSB
protected java.util.LinkedHashSet<java.lang.String> scanned
public HTFactorTracker()
protected java.lang.Object readResolve()
public boolean isDone()
isDone in interface EveryFrameScriptpublic boolean runWhilePaused()
runWhilePaused in interface EveryFrameScriptpublic void advance(float amount)
EveryFrameScriptadvance in interface EveryFrameScriptamount - seconds elapsed during the last frame.protected void checkHighBurn(float days)
public void checkSensorBursts()
protected void checkBlackHole(SectorEntityToken entity)
protected void checkIonStorm(SectorEntityToken entity)
protected void checkMagneticField(CampaignTerrainAPI terrain)
protected void checkGasGiant(SectorEntityToken entity)
protected void checkSystemCenter()
protected void checkPulsar(SectorEntityToken entity)
protected void addMessage(java.lang.String text)