public class DisruptIndustryRaidObjectivePluginImpl extends BaseGroundRaidObjectivePluginImpl
Modifier and Type | Field and Description |
---|---|
protected float |
addedDisruptionDays |
static float |
DISRUPTION_DAYS_XP_MULT |
assignedForcesColumnColor, assignedForcesColumnText, id, marinesAssigned, marinesRequired, market, nameOverride, quantityLooted, source, xpGained
QUANTITY_SORT_TIER_0, QUANTITY_SORT_TIER_1, QUANTITY_SORT_TIER_2, QUANTITY_SORT_TIER_3, QUANTITY_SORT_TIER_4, QUANTITY_SORT_TIER_5, XP_GAIN_VALUE_MULT
Constructor and Description |
---|
DisruptIndustryRaidObjectivePluginImpl(MarketAPI market,
Industry target) |
Modifier and Type | Method and Description |
---|---|
void |
createTooltip(TooltipMakerAPI t,
boolean expanded) |
float |
getAddedDisruptionDays() |
float |
getBaseDisruptDuration(int marines) |
MarketCMD.RaidDangerLevel |
getDangerLevel() |
int |
getDisruptionDaysSort(int marines) |
java.lang.String |
getDisruptionDaysString(int marines) |
java.lang.String |
getIconName() |
java.lang.String |
getName() |
int |
getProjectedCreditsValue() |
float |
getQuantity(int marines) |
java.awt.Color |
getQuantityColor(int marines) |
float |
getQuantitySortValue() |
java.lang.String |
getQuantityString(int marines) |
IndustrySpecAPI |
getSpec() |
float |
getTooltipWidth() |
int |
getValue(int marines) |
boolean |
hasTooltip() |
int |
performRaid(CargoAPI loot,
java.util.Random random,
float lootMult,
TextPanelAPI text) |
void |
setAddedDisruptionDays(float addedDisruptionDays) |
void |
setSource(Industry source) |
addIcons, getAssignedForcesColumnColor, getAssignedForcesColumnText, getCargoSpaceNeeded, getCommodityIdForDeficitIcons, getDeficitCaused, getDisruptedAlreadyColor, getDisruptedAlreadyString, getDisruptionDaysColor, getFuelSpaceNeeded, getId, getMarinesAssigned, getMarinesRequired, getMarket, getNameOverride, getQuantityLooted, getSource, getSourceString, getStackForIcon, getValueColor, getValueSortValue, getValueString, getXpGained, isTooltipExpandable, setAssignedForcesColumnColor, setAssignedForcesColumnText, setId, setMarinesAssigned, setMarinesRequired, setMarket, setNameOverride, setQuantityLooted, setXpGained, withContinueBeforeResult
public static float DISRUPTION_DAYS_XP_MULT
protected float addedDisruptionDays
public void setSource(Industry source)
setSource
in interface GroundRaidObjectivePlugin
setSource
in class BaseGroundRaidObjectivePluginImpl
public java.lang.String getQuantityString(int marines)
getQuantityString
in interface GroundRaidObjectivePlugin
getQuantityString
in class BaseGroundRaidObjectivePluginImpl
public java.awt.Color getQuantityColor(int marines)
getQuantityColor
in interface GroundRaidObjectivePlugin
getQuantityColor
in class BaseGroundRaidObjectivePluginImpl
public int getDisruptionDaysSort(int marines)
getDisruptionDaysSort
in interface GroundRaidObjectivePlugin
getDisruptionDaysSort
in class BaseGroundRaidObjectivePluginImpl
public java.lang.String getDisruptionDaysString(int marines)
getDisruptionDaysString
in interface GroundRaidObjectivePlugin
getDisruptionDaysString
in class BaseGroundRaidObjectivePluginImpl
public float getQuantity(int marines)
getQuantity
in class BaseGroundRaidObjectivePluginImpl
public int getValue(int marines)
getValue
in class BaseGroundRaidObjectivePluginImpl
public int getProjectedCreditsValue()
public IndustrySpecAPI getSpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel
in interface GroundRaidObjectivePlugin
getDangerLevel
in class BaseGroundRaidObjectivePluginImpl
public float getQuantitySortValue()
public java.lang.String getName()
public java.lang.String getIconName()
getIconName
in interface GroundRaidObjectivePlugin
getIconName
in class BaseGroundRaidObjectivePluginImpl
public float getAddedDisruptionDays()
public void setAddedDisruptionDays(float addedDisruptionDays)
public int performRaid(CargoAPI loot, java.util.Random random, float lootMult, TextPanelAPI text)
public float getBaseDisruptDuration(int marines)
public boolean hasTooltip()
hasTooltip
in interface GroundRaidObjectivePlugin
hasTooltip
in class BaseGroundRaidObjectivePluginImpl
public float getTooltipWidth()
getTooltipWidth
in interface GroundRaidObjectivePlugin
getTooltipWidth
in class BaseGroundRaidObjectivePluginImpl
public void createTooltip(TooltipMakerAPI t, boolean expanded)
createTooltip
in interface GroundRaidObjectivePlugin
createTooltip
in class BaseGroundRaidObjectivePluginImpl
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.