public class Automated extends BaseHullMod
Modifier and Type | Field and Description |
---|---|
static float |
MAX_CR_PENALTY |
spec
Constructor and Description |
---|
Automated() |
Modifier and Type | Method and Description |
---|---|
void |
addPostDescriptionSection(TooltipMakerAPI tooltip,
ShipAPI.HullSize hullSize,
ShipAPI ship,
float width,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
void |
applyEffectsAfterShipCreation(ShipAPI ship,
java.lang.String id)
Effects applied here should NOT affect ship stats as this does not get called from the campaign.
|
void |
applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize,
MutableShipStatsAPI stats,
java.lang.String id) |
java.lang.String |
getDescriptionParam(int index,
ShipAPI.HullSize hullSize) |
static boolean |
isAutomatedNoPenalty(FleetMemberAPI member) |
static boolean |
isAutomatedNoPenalty(MutableShipStatsAPI stats) |
static boolean |
isAutomatedNoPenalty(ShipAPI ship) |
addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, affectsOPCosts, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, getTooltipWidth, getUnapplicableReason, hasSModEffect, hasSModEffectSection, init, isApplicableToShip, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, shouldAddDescriptionToTooltip, showInRefitScreenModPickerFor
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation
in interface HullModEffect
applyEffectsBeforeShipCreation
in class BaseHullMod
public void applyEffectsAfterShipCreation(ShipAPI ship, java.lang.String id)
HullModEffect
applyEffectsAfterShipCreation
in interface HullModEffect
applyEffectsAfterShipCreation
in class BaseHullMod
public java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam
in interface HullModEffect
getDescriptionParam
in class BaseHullMod
public void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
HullModEffect
addPostDescriptionSection
in interface HullModEffect
addPostDescriptionSection
in class BaseHullMod
public static boolean isAutomatedNoPenalty(MutableShipStatsAPI stats)
public static boolean isAutomatedNoPenalty(ShipAPI ship)
public static boolean isAutomatedNoPenalty(FleetMemberAPI member)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.