public class RemnantHostileActivityFactor extends BaseHostileActivityFactor implements FleetGroupIntel.FGIEventListener
causes, intel, seed
TOOLTIP_WIDTH
NEGATED_FACTOR_PROGRESS
Constructor and Description |
---|
RemnantHostileActivityFactor(HostileActivityEventIntel intel) |
addCause, addExtraRows, checkFactionExists, getCauseOfClass, getCauses, getDefaultEventTooltip, getEffectMagnitude, getEventStageSound, getId, getNameColorForThreatList, getRandomizedStageRandom, getRandomizedStageRandom, getRandomizedStageSeed, getSpawnFrequency, getSpawnInHyperProbability, getStayInHyperProbability, removeCauseOfClass, resetEvent, setRandomizedStageSeed
addBorder, addBulletPointForOneTimeFactor, getAllProgressMult, getMainRowTooltip, getProgressColor, isExpired, isOneTime, notifyEventEnded
public RemnantHostileActivityFactor(HostileActivityEventIntel intel)
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 TooltipMakerAPI.TooltipCreator getMainRowTooltip(BaseEventIntel intel)
getMainRowTooltip
in interface EventFactor
getMainRowTooltip
in class BaseEventFactor
public boolean shouldShow(BaseEventIntel intel)
shouldShow
in interface EventFactor
shouldShow
in class BaseEventFactor
public int getProgress(BaseEventIntel intel)
getProgress
in interface EventFactor
getProgress
in class BaseHostileActivityFactor
public java.awt.Color getNameColor(float mag)
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 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 static CampaignFleetAPI getRemnantNexus(StarSystemAPI system)
public float getEventFrequency(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getEventFrequency
in interface HostileActivityFactor
getEventFrequency
in class BaseHostileActivityFactor
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 MarketAPI findAttackTarget(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
public void notifyFactorRemoved()
notifyFactorRemoved
in interface EventFactor
notifyFactorRemoved
in class BaseEventFactor
public void notifyEventEnding()
notifyEventEnding
in interface EventFactor
notifyEventEnding
in class BaseEventFactor
public void advance(float amount)
advance
in interface EventFactor
advance
in class BaseEventFactor
public boolean startAttack(CampaignFleetAPI nexus, MarketAPI target, 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.