public class BallisticRangefinder extends BaseHullMod
| Modifier and Type | Class and Description |
|---|---|
static class |
BallisticRangefinder.RangefinderRangeModifier |
| Modifier and Type | Field and Description |
|---|---|
static float |
BONUS_MAX_1 |
static float |
BONUS_MAX_2 |
static float |
BONUS_MAX_3 |
static float |
BONUS_MEDIUM_3 |
static float |
BONUS_SMALL_1 |
static float |
BONUS_SMALL_2 |
static float |
BONUS_SMALL_3 |
static float |
HYBRID_BONUS_MIN |
static float |
HYBRID_MULT |
spec| Constructor and Description |
|---|
BallisticRangefinder() |
| 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 WeaponAPI.WeaponSize |
getLargestBallisticSlot(ShipAPI ship) |
float |
getTooltipWidth() |
java.lang.String |
getUnapplicableReason(ShipAPI ship) |
boolean |
isApplicableToShip(ShipAPI ship) |
boolean |
shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize,
ShipAPI ship,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, affectsOPCosts, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyEffectsAfterShipAddedToCombatEngine, getRequiredItempublic static float BONUS_MAX_1
public static float BONUS_MAX_2
public static float BONUS_MAX_3
public static float BONUS_SMALL_1
public static float BONUS_SMALL_2
public static float BONUS_SMALL_3
public static float BONUS_MEDIUM_3
public static float HYBRID_MULT
public static float HYBRID_BONUS_MIN
public BallisticRangefinder()
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic static WeaponAPI.WeaponSize getLargestBallisticSlot(ShipAPI ship)
public void applyEffectsAfterShipCreation(ShipAPI ship, java.lang.String id)
HullModEffectapplyEffectsAfterShipCreation in interface HullModEffectapplyEffectsAfterShipCreation in class BaseHullModpublic java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam in interface HullModEffectgetDescriptionParam in class BaseHullModpublic boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec)
HullModEffectshouldAddDescriptionToTooltip in interface HullModEffectshouldAddDescriptionToTooltip in class BaseHullModpublic void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
HullModEffectaddPostDescriptionSection in interface HullModEffectaddPostDescriptionSection in class BaseHullModpublic float getTooltipWidth()
getTooltipWidth in interface HullModEffectgetTooltipWidth in class BaseHullModpublic boolean isApplicableToShip(ShipAPI ship)
isApplicableToShip in interface HullModEffectisApplicableToShip in class BaseHullModpublic java.lang.String getUnapplicableReason(ShipAPI ship)
getUnapplicableReason in interface HullModEffectgetUnapplicableReason in class BaseHullMod