public class LuddicPathHostileActivityFactor extends BaseHostileActivityFactor implements PatherCellListener, FleetGroupIntel.FGIEventListener
Modifier and Type | Class and Description |
---|---|
static class |
LuddicPathHostileActivityFactor.HAPatherCellsEventData |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTACK_KEY |
static java.lang.String |
DEFEATED_PATHER_EXPEDITION |
causes, intel, seed
TOOLTIP_WIDTH
NEGATED_FACTOR_PROGRESS
Constructor and Description |
---|
LuddicPathHostileActivityFactor(HostileActivityEventIntel intel) |
addCause, addExtraRows, checkFactionExists, getCauseOfClass, getCauses, getDefaultEventTooltip, getEffectMagnitude, getEventStageSound, getId, getProgress, getRandomizedStageRandom, getRandomizedStageRandom, getRandomizedStageSeed, getSpawnFrequency, getSpawnInHyperProbability, getStayInHyperProbability, removeCauseOfClass, resetEvent, setRandomizedStageSeed
addBorder, addBulletPointForOneTimeFactor, advance, getAllProgressMult, getMainRowTooltip, getProgressColor, isExpired, isOneTime, notifyEventEnded
public static java.lang.String DEFEATED_PATHER_EXPEDITION
public static java.lang.String ATTACK_KEY
public LuddicPathHostileActivityFactor(HostileActivityEventIntel intel)
public static boolean isPlayerDefeatedPatherExpedition()
public static void setPlayerDefeatedPatherExpedition()
public java.lang.String getProgressStr(BaseEventIntel intel)
getProgressStr
in interface EventFactor
getProgressStr
in class BaseEventFactor
public java.lang.String getDesc(BaseEventIntel intel)
getDesc
in interface EventFactor
getDesc
in class BaseEventFactor
public java.lang.String getNameForThreatList(boolean first)
getNameForThreatList
in interface HostileActivityFactor
getNameForThreatList
in class BaseHostileActivityFactor
public java.awt.Color getDescColor(BaseEventIntel intel)
getDescColor
in interface EventFactor
getDescColor
in class BaseEventFactor
public java.awt.Color getNameColorForThreatList()
getNameColorForThreatList
in interface HostileActivityFactor
getNameColorForThreatList
in class BaseHostileActivityFactor
public TooltipMakerAPI.TooltipCreator getMainRowTooltip(BaseEventIntel intel)
getMainRowTooltip
in interface EventFactor
getMainRowTooltip
in class BaseEventFactor
public static void addAgreementStatus(TooltipMakerAPI tooltip, float initPad)
public boolean shouldShow(BaseEventIntel intel)
shouldShow
in interface EventFactor
shouldShow
in class BaseEventFactor
public int getMaxNumFleets(StarSystemAPI system)
getMaxNumFleets
in interface HostileActivityFactor
getMaxNumFleets
in class BaseHostileActivityFactor
public CampaignFleetAPI createFleet(StarSystemAPI system, java.util.Random random)
createFleet
in interface HostileActivityFactor
createFleet
in class BaseHostileActivityFactor
public void notifyFactorRemoved()
notifyFactorRemoved
in interface EventFactor
notifyFactorRemoved
in class BaseEventFactor
public void notifyEventEnding()
notifyEventEnding
in interface EventFactor
notifyEventEnding
in class BaseEventFactor
public static LuddicPathHostileActivityFactor.HAPatherCellsEventData getPatherCellData(BaseEventIntel.EventStageData stage)
public void addBulletPointForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, java.awt.Color tc, float initPad)
addBulletPointForEvent
in interface HostileActivityFactor
addBulletPointForEvent
in class BaseHostileActivityFactor
public void addBulletPointForEventReset(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, java.awt.Color tc, float initPad)
addBulletPointForEventReset
in interface HostileActivityFactor
addBulletPointForEventReset
in class BaseHostileActivityFactor
public void addStageDescriptionForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info)
addStageDescriptionForEvent
in interface HostileActivityFactor
addStageDescriptionForEvent
in class BaseHostileActivityFactor
public java.lang.String getEventStageIcon(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getEventStageIcon
in interface HostileActivityFactor
getEventStageIcon
in class BaseHostileActivityFactor
public TooltipMakerAPI.TooltipCreator getStageTooltipImpl(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getStageTooltipImpl
in interface HostileActivityFactor
getStageTooltipImpl
in class BaseHostileActivityFactor
public float getEventFrequency(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getEventFrequency
in interface HostileActivityFactor
getEventFrequency
in class BaseHostileActivityFactor
public MarketAPI pickTargetMarket()
public void rollEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
rollEvent
in interface HostileActivityFactor
rollEvent
in class BaseHostileActivityFactor
public boolean fireEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
fireEvent
in interface HostileActivityFactor
fireEvent
in class BaseHostileActivityFactor
public void reportCellsDisrupted(LuddicPathCellsIntel cell)
reportCellsDisrupted
in interface PatherCellListener
public static void avertOrAbortAttack()
public boolean startRaid(MarketAPI source, MarketAPI target, float interest, StarSystemAPI system, BaseEventIntel.EventStageData stage, java.util.Random random)
public void reportFGIAborted(FleetGroupIntel intel)
reportFGIAborted
in interface FleetGroupIntel.FGIEventListener
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.