public class FragmentSwarmHullmod extends BaseHullMod
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONSTRUCTION_SWARM_FLOCKING_CLASS |
static java.lang.String |
RECLAMATION_SWARM_EXCHANGE_CLASS |
static java.lang.String |
RECLAMATION_SWARM_FLOCKING_CLASS |
static boolean |
SHOW_OVERLAY_ON_THREAT_SHIPS |
static float |
SMOD_CR_PENALTY |
static float |
SMOD_MAINTENANCE_PENALTY |
static java.lang.String |
STANDARD_SWARM_EXCHANGE_CLASS |
static java.lang.String |
STANDARD_SWARM_FLOCKING_CLASS |
static java.lang.Object |
STATUS_KEY1 |
spec| Constructor and Description |
|---|
FragmentSwarmHullmod() |
| Modifier and Type | Method and Description |
|---|---|
void |
advanceInCombat(ShipAPI ship,
float amount)
Not called while paused.
|
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) |
static RoilingSwarmEffect |
createSwarmFor(ShipAPI ship) |
static float |
getBaseSwarmRespawnRateMult(ShipAPI.HullSize size) |
static int |
getBaseSwarmSize(ShipAPI.HullSize size) |
java.lang.String |
getDescriptionParam(int index,
ShipAPI.HullSize hullSize) |
CargoStackAPI |
getRequiredItem() |
java.lang.String |
getSModDescriptionParam(int index,
ShipAPI.HullSize hullSize,
ShipAPI ship) |
java.lang.String |
getUnapplicableReason(ShipAPI ship) |
static boolean |
hasShroudedHullmods(ShipAPI ship) |
boolean |
isApplicableToShip(ShipAPI ship) |
boolean |
isSModEffectAPenalty() |
addPostDescriptionSection, addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, affectsOPCosts, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getTooltipWidth, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, shipHasOtherModInCategory, shouldAddDescriptionToTooltip, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyEffectsAfterShipAddedToCombatEnginepublic static java.lang.String STANDARD_SWARM_EXCHANGE_CLASS
public static java.lang.String STANDARD_SWARM_FLOCKING_CLASS
public static java.lang.String CONSTRUCTION_SWARM_FLOCKING_CLASS
public static java.lang.String RECLAMATION_SWARM_FLOCKING_CLASS
public static java.lang.String RECLAMATION_SWARM_EXCHANGE_CLASS
public static boolean SHOW_OVERLAY_ON_THREAT_SHIPS
public static float SMOD_CR_PENALTY
public static float SMOD_MAINTENANCE_PENALTY
public static java.lang.Object STATUS_KEY1
public FragmentSwarmHullmod()
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic void applyEffectsAfterShipCreation(ShipAPI ship, java.lang.String id)
HullModEffectapplyEffectsAfterShipCreation in interface HullModEffectapplyEffectsAfterShipCreation in class BaseHullModpublic void advanceInCombat(ShipAPI ship, float amount)
HullModEffectadvanceInCombat in interface HullModEffectadvanceInCombat in class BaseHullModpublic static RoilingSwarmEffect createSwarmFor(ShipAPI ship)
public static int getBaseSwarmSize(ShipAPI.HullSize size)
public static float getBaseSwarmRespawnRateMult(ShipAPI.HullSize size)
public CargoStackAPI getRequiredItem()
public static boolean hasShroudedHullmods(ShipAPI ship)
public boolean isApplicableToShip(ShipAPI ship)
isApplicableToShip in interface HullModEffectisApplicableToShip in class BaseHullModpublic java.lang.String getUnapplicableReason(ShipAPI ship)
getUnapplicableReason in interface HullModEffectgetUnapplicableReason in class BaseHullModpublic java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam in interface HullModEffectgetDescriptionParam in class BaseHullModpublic java.lang.String getSModDescriptionParam(int index, ShipAPI.HullSize hullSize, ShipAPI ship)
getSModDescriptionParam in interface HullModEffectgetSModDescriptionParam in class BaseHullModpublic boolean isSModEffectAPenalty()
isSModEffectAPenalty in interface HullModEffectisSModEffectAPenalty in class BaseHullMod