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 boolean isDone()
isDone
in interface EveryFrameScript
public boolean runWhilePaused()
runWhilePaused
in interface EveryFrameScript
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
amount
- 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)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.