public class HegemonyHostileActivityFactor extends BaseHostileActivityFactor implements HegemonyInspectionIntel.InspectionEndedListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFEATED_HEGEMONY |
static java.lang.String |
HASSLE_REASON |
static java.lang.String |
INSPECTION_ATTEMPTS |
static float |
INSPECTION_STRENGTH_FINAL |
static float |
INSPECTION_STRENGTH_FIRST |
static float |
INSPECTION_STRENGTH_SECOND |
static java.lang.String |
INSPECTIONS_DEFEATED |
static int |
INSPECTIONS_TO_DEFEAT |
causes, intel, seedTOOLTIP_WIDTHNEGATED_FACTOR_PROGRESS| Constructor and Description |
|---|
HegemonyHostileActivityFactor(HostileActivityEventIntel intel) |
addCause, addExtraRows, checkFactionExists, getCauseOfClass, getCauses, getDefaultEventTooltip, getEventStageSound, getId, getNameColorForThreatList, getRandomizedStageRandom, getRandomizedStageRandom, getRandomizedStageSeed, getSpawnFrequency, getSpawnInHyperProbability, getStayInHyperProbability, removeCauseOfClass, resetEvent, setRandomizedStageSeedaddBorder, addBulletPointForOneTimeFactor, getAllProgressMult, getMainRowTooltip, getProgressColor, isExpired, isOneTime, notifyEventEndedpublic static final java.lang.String HASSLE_REASON
public static java.lang.String DEFEATED_HEGEMONY
public static java.lang.String INSPECTION_ATTEMPTS
public static java.lang.String INSPECTIONS_DEFEATED
public static int INSPECTIONS_TO_DEFEAT
public static float INSPECTION_STRENGTH_FIRST
public static float INSPECTION_STRENGTH_SECOND
public static float INSPECTION_STRENGTH_FINAL
public HegemonyHostileActivityFactor(HostileActivityEventIntel intel)
public static boolean isPlayerDefeatedHegemony()
public static void setPlayerDefeatedHegemony()
public static int getInspectionAttempts()
public static void incrInspectionAttempts()
public static int getInspectionsDefeated()
public static void incrInspectionsDefeated()
public java.lang.String getProgressStr(BaseEventIntel intel)
getProgressStr in interface EventFactorgetProgressStr in class BaseEventFactorpublic int getProgress(BaseEventIntel intel)
getProgress in interface EventFactorgetProgress in class BaseHostileActivityFactorpublic float getEffectMagnitude(StarSystemAPI system)
getEffectMagnitude in interface HostileActivityFactorgetEffectMagnitude in class BaseHostileActivityFactorpublic java.lang.String getDesc(BaseEventIntel intel)
getDesc in interface EventFactorgetDesc in class BaseEventFactorpublic java.lang.String getNameForThreatList(boolean first)
getNameForThreatList in interface HostileActivityFactorgetNameForThreatList in class BaseHostileActivityFactorpublic java.awt.Color getDescColor(BaseEventIntel intel)
getDescColor in interface EventFactorgetDescColor in class BaseEventFactorpublic TooltipMakerAPI.TooltipCreator getMainRowTooltip(BaseEventIntel intel)
getMainRowTooltip in interface EventFactorgetMainRowTooltip in class BaseEventFactorpublic boolean shouldShow(BaseEventIntel intel)
shouldShow in interface EventFactorshouldShow in class BaseEventFactorpublic int getMaxNumFleets(StarSystemAPI system)
getMaxNumFleets in interface HostileActivityFactorgetMaxNumFleets in class BaseHostileActivityFactorpublic CampaignFleetAPI createFleet(StarSystemAPI system, java.util.Random random)
createFleet in interface HostileActivityFactorcreateFleet in class BaseHostileActivityFactorpublic void notifyFactorRemoved()
notifyFactorRemoved in interface EventFactornotifyFactorRemoved in class BaseEventFactorpublic void notifyEventEnding()
notifyEventEnding in interface EventFactornotifyEventEnding in class BaseEventFactorpublic void addBulletPointForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, java.awt.Color tc, float initPad)
addBulletPointForEvent in interface HostileActivityFactoraddBulletPointForEvent in class BaseHostileActivityFactorpublic void addBulletPointForEventReset(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, java.awt.Color tc, float initPad)
addBulletPointForEventReset in interface HostileActivityFactoraddBulletPointForEventReset in class BaseHostileActivityFactorpublic void addStageDescriptionForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info)
addStageDescriptionForEvent in interface HostileActivityFactoraddStageDescriptionForEvent in class BaseHostileActivityFactorpublic java.lang.String getEventStageIcon(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getEventStageIcon in interface HostileActivityFactorgetEventStageIcon in class BaseHostileActivityFactorpublic TooltipMakerAPI.TooltipCreator getStageTooltipImpl(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getStageTooltipImpl in interface HostileActivityFactorgetStageTooltipImpl in class BaseHostileActivityFactorpublic float getEventFrequency(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getEventFrequency in interface HostileActivityFactorgetEventFrequency in class BaseHostileActivityFactorpublic MarketAPI pickTargetMarket()
public MarketAPI pickSourceMarket()
public void rollEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
rollEvent in interface HostileActivityFactorrollEvent in class BaseHostileActivityFactorpublic boolean fireEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
fireEvent in interface HostileActivityFactorfireEvent in class BaseHostileActivityFactorpublic boolean createInspection(MarketAPI target, java.lang.Integer fpOverride)
public void advance(float amount)
advance in interface EventFactoradvance in class BaseEventFactorpublic static void avertInspectionIfNotInProgress()
public void notifyInspectionEnded(HegemonyInspectionIntel.HegemonyInspectionOutcome outcome)
notifyInspectionEnded in interface HegemonyInspectionIntel.InspectionEndedListener