protected static class PopulationAndInfrastructure.LampRemover extends java.lang.Object implements EveryFrameScript
Modifier and Type | Field and Description |
---|---|
protected PopulationAndInfrastructure |
industry |
protected SectorEntityToken |
lamp |
protected MarketAPI |
market |
Constructor and Description |
---|
PopulationAndInfrastructure.LampRemover(SectorEntityToken lamp,
MarketAPI market,
PopulationAndInfrastructure industry) |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
boolean |
isDone() |
boolean |
runWhilePaused() |
protected SectorEntityToken lamp
protected MarketAPI market
protected PopulationAndInfrastructure industry
public PopulationAndInfrastructure.LampRemover(SectorEntityToken lamp, MarketAPI market, PopulationAndInfrastructure industry)
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
amount
- seconds elapsed during the last frame.public boolean isDone()
isDone
in interface EveryFrameScript
public boolean runWhilePaused()
runWhilePaused
in interface EveryFrameScript
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.