public class SpacerObligation extends java.lang.Object implements EconomyTickListener, TooltipMakerAPI.TooltipCreator
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBT_BASE |
static int |
DEBT_PER_LEVEL |
protected long |
startTime |
| Constructor and Description |
|---|
SpacerObligation() |
| Modifier and Type | Method and Description |
|---|---|
void |
createTooltip(TooltipMakerAPI tooltip,
boolean expanded,
java.lang.Object tooltipParam) |
protected int |
getDebt() |
float |
getTooltipWidth(java.lang.Object tooltipParam) |
boolean |
isTooltipExpandable(java.lang.Object tooltipParam) |
void |
reportEconomyMonthEnd() |
void |
reportEconomyTick(int iterIndex) |
public static int DEBT_BASE
public static int DEBT_PER_LEVEL
protected long startTime
public SpacerObligation()
public void reportEconomyTick(int iterIndex)
reportEconomyTick in interface EconomyTickListenerprotected int getDebt()
public void reportEconomyMonthEnd()
reportEconomyMonthEnd in interface EconomyTickListenerpublic void createTooltip(TooltipMakerAPI tooltip, boolean expanded, java.lang.Object tooltipParam)
createTooltip in interface TooltipMakerAPI.TooltipCreatorpublic float getTooltipWidth(java.lang.Object tooltipParam)
getTooltipWidth in interface TooltipMakerAPI.TooltipCreatorpublic boolean isTooltipExpandable(java.lang.Object tooltipParam)
isTooltipExpandable in interface TooltipMakerAPI.TooltipCreator