public class CommerceBountyManager extends java.lang.Object implements EveryFrameScript
| Modifier and Type | Field and Description |
|---|---|
protected IntervalUtil |
tracker |
| Constructor and Description |
|---|
CommerceBountyManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
static boolean |
doesStarSystemHavePlayerCommerceIndustry(StarSystemAPI system,
boolean requireFunctional) |
static SystemBountyIntel |
getCommerceBounty(StarSystemAPI system) |
static MarketAPI |
getPlayerCommerceMarket(StarSystemAPI system) |
boolean |
isDone() |
boolean |
runWhilePaused() |
protected IntervalUtil tracker
public CommerceBountyManager()
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.public static SystemBountyIntel getCommerceBounty(StarSystemAPI system)
public static boolean doesStarSystemHavePlayerCommerceIndustry(StarSystemAPI system, boolean requireFunctional)
public static MarketAPI getPlayerCommerceMarket(StarSystemAPI system)