public class BaseHostileActivityCause2 extends java.lang.Object implements HostileActivityCause2
| Modifier and Type | Field and Description |
|---|---|
protected HostileActivityEventIntel |
intel |
| Constructor and Description |
|---|
BaseHostileActivityCause2(HostileActivityEventIntel intel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraRows(TooltipMakerAPI info,
BaseEventIntel intel) |
java.lang.String |
getDesc() |
java.awt.Color |
getDescColor(BaseEventIntel intel) |
float |
getMagnitudeContribution(StarSystemAPI system) |
int |
getProgress()
Progress is used to advance the event, MagnitudeContribution is for fleet spawning for...
|
java.awt.Color |
getProgressColor(BaseEventIntel intel) |
java.lang.String |
getProgressStr() |
TooltipMakerAPI.TooltipCreator |
getTooltip() |
boolean |
shouldShow() |
protected HostileActivityEventIntel intel
public BaseHostileActivityCause2(HostileActivityEventIntel intel)
public float getMagnitudeContribution(StarSystemAPI system)
getMagnitudeContribution in interface HostileActivityCause2public int getProgress()
HostileActivityCause2getProgress in interface HostileActivityCause2public boolean shouldShow()
shouldShow in interface HostileActivityCause2public java.lang.String getDesc()
getDesc in interface HostileActivityCause2public java.lang.String getProgressStr()
getProgressStr in interface HostileActivityCause2public java.awt.Color getDescColor(BaseEventIntel intel)
getDescColor in interface HostileActivityCause2public java.awt.Color getProgressColor(BaseEventIntel intel)
getProgressColor in interface HostileActivityCause2public TooltipMakerAPI.TooltipCreator getTooltip()
getTooltip in interface HostileActivityCause2public void addExtraRows(TooltipMakerAPI info, BaseEventIntel intel)
addExtraRows in interface HostileActivityCause2