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 HostileActivityCause2
public int getProgress()
HostileActivityCause2
getProgress
in interface HostileActivityCause2
public boolean shouldShow()
shouldShow
in interface HostileActivityCause2
public java.lang.String getDesc()
getDesc
in interface HostileActivityCause2
public java.lang.String getProgressStr()
getProgressStr
in interface HostileActivityCause2
public java.awt.Color getDescColor(BaseEventIntel intel)
getDescColor
in interface HostileActivityCause2
public java.awt.Color getProgressColor(BaseEventIntel intel)
getProgressColor
in interface HostileActivityCause2
public TooltipMakerAPI.TooltipCreator getTooltip()
getTooltip
in interface HostileActivityCause2
public void addExtraRows(TooltipMakerAPI info, BaseEventIntel intel)
addExtraRows
in interface HostileActivityCause2
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.