public class PirateBasePirateActivityCause2 extends BaseHostileActivityCause2
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEAL_PROVIDES_NEGATIVE_PROGRESS |
static float |
MAX_MAG |
intel| Constructor and Description |
|---|
PirateBasePirateActivityCause2(HostileActivityEventIntel intel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraRows(TooltipMakerAPI info,
BaseEventIntel intel) |
static PirateBaseIntel |
getBaseIntel(StarSystemAPI system) |
static java.util.List<MarketAPI> |
getColoniesAffectedBy(PirateBaseIntel base) |
java.lang.String |
getDesc() |
float |
getMagnitudeContribution(StarSystemAPI system) |
int |
getProgress()
Progress is used to advance the event, MagnitudeContribution is for fleet spawning for...
|
protected int |
getProgressForBase(PirateBaseIntel base) |
protected int |
getProgressForSystem(StarSystemAPI system) |
static java.util.List<StarSystemAPI> |
getSystemsAffectedBy(PirateBaseIntel base) |
boolean |
playerHasDealWithAnyBases() |
boolean |
shouldShow() |
getDescColor, getProgressColor, getProgressStr, getTooltippublic static boolean DEAL_PROVIDES_NEGATIVE_PROGRESS
public static float MAX_MAG
public PirateBasePirateActivityCause2(HostileActivityEventIntel intel)
public static java.util.List<MarketAPI> getColoniesAffectedBy(PirateBaseIntel base)
public static java.util.List<StarSystemAPI> getSystemsAffectedBy(PirateBaseIntel base)
public static PirateBaseIntel getBaseIntel(StarSystemAPI system)
public void addExtraRows(TooltipMakerAPI info, BaseEventIntel intel)
addExtraRows in interface HostileActivityCause2addExtraRows in class BaseHostileActivityCause2public boolean playerHasDealWithAnyBases()
public boolean shouldShow()
shouldShow in interface HostileActivityCause2shouldShow in class BaseHostileActivityCause2public int getProgress()
HostileActivityCause2getProgress in interface HostileActivityCause2getProgress in class BaseHostileActivityCause2protected int getProgressForBase(PirateBaseIntel base)
protected int getProgressForSystem(StarSystemAPI system)
public java.lang.String getDesc()
getDesc in interface HostileActivityCause2getDesc in class BaseHostileActivityCause2public float getMagnitudeContribution(StarSystemAPI system)
getMagnitudeContribution in interface HostileActivityCause2getMagnitudeContribution in class BaseHostileActivityCause2