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, xpGainedQUANTITY_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, withContinueBeforeResultpublic static float DISRUPTION_DAYS_XP_MULT
protected float addedDisruptionDays
public DisruptIndustryRaidObjectivePluginImpl(MarketAPI market, Industry target)
public void setSource(Industry source)
setSource in interface GroundRaidObjectivePluginsetSource in class BaseGroundRaidObjectivePluginImplpublic java.lang.String getQuantityString(int marines)
getQuantityString in interface GroundRaidObjectivePlugingetQuantityString in class BaseGroundRaidObjectivePluginImplpublic java.awt.Color getQuantityColor(int marines)
getQuantityColor in interface GroundRaidObjectivePlugingetQuantityColor in class BaseGroundRaidObjectivePluginImplpublic int getDisruptionDaysSort(int marines)
getDisruptionDaysSort in interface GroundRaidObjectivePlugingetDisruptionDaysSort in class BaseGroundRaidObjectivePluginImplpublic java.lang.String getDisruptionDaysString(int marines)
getDisruptionDaysString in interface GroundRaidObjectivePlugingetDisruptionDaysString in class BaseGroundRaidObjectivePluginImplpublic float getQuantity(int marines)
getQuantity in class BaseGroundRaidObjectivePluginImplpublic int getValue(int marines)
getValue in class BaseGroundRaidObjectivePluginImplpublic int getProjectedCreditsValue()
public IndustrySpecAPI getSpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel in interface GroundRaidObjectivePlugingetDangerLevel in class BaseGroundRaidObjectivePluginImplpublic float getQuantitySortValue()
public java.lang.String getName()
public java.lang.String getIconName()
getIconName in interface GroundRaidObjectivePlugingetIconName in class BaseGroundRaidObjectivePluginImplpublic 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 GroundRaidObjectivePluginhasTooltip in class BaseGroundRaidObjectivePluginImplpublic float getTooltipWidth()
getTooltipWidth in interface GroundRaidObjectivePlugingetTooltipWidth in class BaseGroundRaidObjectivePluginImplpublic void createTooltip(TooltipMakerAPI t, boolean expanded)
createTooltip in interface GroundRaidObjectivePlugincreateTooltip in class BaseGroundRaidObjectivePluginImpl