public class StandardPirateActivityCause2 extends BaseHostileActivityCause2
| Modifier and Type | Field and Description |
|---|---|
static float |
MAX_MAG |
intel| Constructor and Description |
|---|
StandardPirateActivityCause2(HostileActivityEventIntel intel) |
| Modifier and Type | Method and Description |
|---|---|
MarketAPI |
getBiggestColony() |
java.lang.String |
getDesc() |
float |
getMagForMarket(MarketAPI market) |
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() |
addExtraRows, getDescColorpublic static float MAX_MAG
public StandardPirateActivityCause2(HostileActivityEventIntel intel)
public TooltipMakerAPI.TooltipCreator getTooltip()
getTooltip in interface HostileActivityCause2getTooltip in class BaseHostileActivityCause2public MarketAPI getBiggestColony()
public boolean shouldShow()
shouldShow in interface HostileActivityCause2shouldShow in class BaseHostileActivityCause2public java.lang.String getProgressStr()
getProgressStr in interface HostileActivityCause2getProgressStr in class BaseHostileActivityCause2public java.awt.Color getProgressColor(BaseEventIntel intel)
getProgressColor in interface HostileActivityCause2getProgressColor in class BaseHostileActivityCause2public int getProgress()
HostileActivityCause2getProgress in interface HostileActivityCause2getProgress in class BaseHostileActivityCause2public java.lang.String getDesc()
getDesc in interface HostileActivityCause2getDesc in class BaseHostileActivityCause2public float getMagForMarket(MarketAPI market)
public float getMagnitudeContribution(StarSystemAPI system)
getMagnitudeContribution in interface HostileActivityCause2getMagnitudeContribution in class BaseHostileActivityCause2