public class AICoreGroundRaidObjectivePluginImpl extends BaseGroundRaidObjectivePluginImpl
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 |
|---|
AICoreGroundRaidObjectivePluginImpl(MarketAPI market,
java.lang.String id,
Industry source) |
| Modifier and Type | Method and Description |
|---|---|
void |
createTooltip(TooltipMakerAPI t,
boolean expanded) |
int |
getCargoSpaceNeeded() |
CommoditySpecAPI |
getCommoditySpec() |
MarketCMD.RaidDangerLevel |
getDangerLevel() |
int |
getFuelSpaceNeeded() |
java.lang.String |
getName() |
int |
getProjectedCreditsValue() |
float |
getQuantity(int marines) |
float |
getQuantitySortValue() |
CargoStackAPI |
getStackForIcon() |
int |
getValue(int marines) |
boolean |
hasTooltip() |
int |
performRaid(CargoAPI loot,
java.util.Random random,
float lootMult,
TextPanelAPI text) |
void |
setSource(Industry source) |
addIcons, getAssignedForcesColumnColor, getAssignedForcesColumnText, getCommodityIdForDeficitIcons, getDeficitCaused, getDisruptedAlreadyColor, getDisruptedAlreadyString, getDisruptionDaysColor, getDisruptionDaysSort, getDisruptionDaysString, getIconName, getId, getMarinesAssigned, getMarinesRequired, getMarket, getNameOverride, getQuantityColor, getQuantityLooted, getQuantityString, getSource, getSourceString, getTooltipWidth, getValueColor, getValueSortValue, getValueString, getXpGained, isTooltipExpandable, setAssignedForcesColumnColor, setAssignedForcesColumnText, setId, setMarinesAssigned, setMarinesRequired, setMarket, setNameOverride, setQuantityLooted, setXpGained, withContinueBeforeResultpublic AICoreGroundRaidObjectivePluginImpl(MarketAPI market, java.lang.String id, Industry source)
public void setSource(Industry source)
setSource in interface GroundRaidObjectivePluginsetSource in class BaseGroundRaidObjectivePluginImplpublic float getQuantity(int marines)
getQuantity in class BaseGroundRaidObjectivePluginImplpublic int getValue(int marines)
getValue in class BaseGroundRaidObjectivePluginImplpublic int getCargoSpaceNeeded()
getCargoSpaceNeeded in interface GroundRaidObjectivePlugingetCargoSpaceNeeded in class BaseGroundRaidObjectivePluginImplpublic int getFuelSpaceNeeded()
getFuelSpaceNeeded in interface GroundRaidObjectivePlugingetFuelSpaceNeeded in class BaseGroundRaidObjectivePluginImplpublic int getProjectedCreditsValue()
public CommoditySpecAPI getCommoditySpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel in interface GroundRaidObjectivePlugingetDangerLevel in class BaseGroundRaidObjectivePluginImplpublic float getQuantitySortValue()
public java.lang.String getName()
public CargoStackAPI getStackForIcon()
getStackForIcon in interface GroundRaidObjectivePlugingetStackForIcon in class BaseGroundRaidObjectivePluginImplpublic int performRaid(CargoAPI loot, java.util.Random random, float lootMult, TextPanelAPI text)
public boolean hasTooltip()
hasTooltip in interface GroundRaidObjectivePluginhasTooltip in class BaseGroundRaidObjectivePluginImplpublic void createTooltip(TooltipMakerAPI t, boolean expanded)
createTooltip in interface GroundRaidObjectivePlugincreateTooltip in class BaseGroundRaidObjectivePluginImpl