public class BaseOneTimeFactor extends BaseEventFactor
| Modifier and Type | Field and Description |
|---|---|
protected int |
points |
static float |
SHOW_DURATION_DAYS |
protected long |
timestamp |
TOOLTIP_WIDTHNEGATED_FACTOR_PROGRESS| Constructor and Description |
|---|
BaseOneTimeFactor(int points) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBulletPointForOneTimeFactor(BaseEventIntel intel,
TooltipMakerAPI info,
java.awt.Color tc,
float initPad) |
protected java.lang.String |
getBulletPointText(BaseEventIntel intel) |
java.awt.Color |
getDescColor(BaseEventIntel intel) |
int |
getProgress(BaseEventIntel intel) |
java.lang.String |
getProgressStr(BaseEventIntel intel) |
boolean |
hasOtherFactorsOfClass(BaseEventIntel intel,
java.lang.Class c) |
boolean |
isExpired() |
boolean |
isOneTime() |
addBorder, addExtraRows, advance, getAllProgressMult, getDesc, getMainRowTooltip, getMainRowTooltip, getProgressColor, notifyEventEnded, notifyEventEnding, notifyFactorRemoved, shouldShowpublic static float SHOW_DURATION_DAYS
protected int points
protected long timestamp
public BaseOneTimeFactor(int points)
public int getProgress(BaseEventIntel intel)
getProgress in interface EventFactorgetProgress in class BaseEventFactorpublic boolean isOneTime()
isOneTime in interface EventFactorisOneTime in class BaseEventFactorprotected java.lang.String getBulletPointText(BaseEventIntel intel)
public void addBulletPointForOneTimeFactor(BaseEventIntel intel, TooltipMakerAPI info, java.awt.Color tc, float initPad)
addBulletPointForOneTimeFactor in interface EventFactoraddBulletPointForOneTimeFactor in class BaseEventFactorpublic boolean isExpired()
isExpired in interface EventFactorisExpired in class BaseEventFactorpublic boolean hasOtherFactorsOfClass(BaseEventIntel intel, java.lang.Class c)
public java.lang.String getProgressStr(BaseEventIntel intel)
getProgressStr in interface EventFactorgetProgressStr in class BaseEventFactorpublic java.awt.Color getDescColor(BaseEventIntel intel)
getDescColor in interface EventFactorgetDescColor in class BaseEventFactor