public class BaseEventFactor extends java.lang.Object implements EventFactor
| Modifier and Type | Field and Description |
|---|---|
static float |
TOOLTIP_WIDTH |
NEGATED_FACTOR_PROGRESS| Constructor and Description |
|---|
BaseEventFactor() |
public static float TOOLTIP_WIDTH
public BaseEventFactor()
public int getProgress(BaseEventIntel intel)
getProgress in interface EventFactorpublic float getAllProgressMult(BaseEventIntel intel)
EventFactorgetAllProgressMult in interface EventFactorpublic boolean shouldShow(BaseEventIntel intel)
shouldShow in interface EventFactorpublic java.lang.String getDesc(BaseEventIntel intel)
getDesc in interface EventFactorpublic java.lang.String getProgressStr(BaseEventIntel intel)
getProgressStr in interface EventFactorpublic java.awt.Color getDescColor(BaseEventIntel intel)
getDescColor in interface EventFactorpublic java.awt.Color getProgressColor(BaseEventIntel intel)
getProgressColor in interface EventFactorpublic TooltipMakerAPI.TooltipCreator getMainRowTooltip(BaseEventIntel intel)
getMainRowTooltip in interface EventFactorpublic TooltipMakerAPI.TooltipCreator getMainRowTooltip()
getMainRowTooltip in interface EventFactorpublic boolean isOneTime()
isOneTime in interface EventFactorpublic boolean isExpired()
isExpired in interface EventFactorpublic void addExtraRows(TooltipMakerAPI info, BaseEventIntel intel)
addExtraRows in interface EventFactorpublic void notifyEventEnding()
notifyEventEnding in interface EventFactorpublic void notifyEventEnded()
notifyEventEnded in interface EventFactorpublic void addBorder(TooltipMakerAPI info, java.awt.Color c)
info - public void addBulletPointForOneTimeFactor(BaseEventIntel intel, TooltipMakerAPI info, java.awt.Color tc, float initPad)
addBulletPointForOneTimeFactor in interface EventFactorpublic void notifyFactorRemoved()
notifyFactorRemoved in interface EventFactorpublic void advance(float amount)
advance in interface EventFactor