public class InterdictorArrayStats extends BaseShipSystemScript
| Modifier and Type | Class and Description |
|---|---|
static class |
InterdictorArrayStats.TargetData |
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData| Modifier and Type | Field and Description |
|---|---|
static java.awt.Color |
EFFECT_COLOR |
static float |
RANGE |
static java.lang.Object |
SHIP_KEY |
static java.lang.Object |
TARGET_KEY |
static float |
WING_EFFECT_RANGE |
| Constructor and Description |
|---|
InterdictorArrayStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MutableShipStatsAPI stats,
java.lang.String id,
ShipSystemStatsScript.State state,
float effectLevel) |
protected ShipAPI |
findTarget(ShipAPI ship) |
protected java.awt.Color |
getEffectColor(ShipAPI ship) |
java.lang.String |
getInfoText(ShipSystemAPI system,
ShipAPI ship)
If null, uses "READY" and "ACTIVE" as appropritate in the ship info widget.
|
protected float |
getMaxRange(ShipAPI ship) |
ShipSystemStatsScript.StatusData |
getStatusData(int index,
ShipSystemStatsScript.State state,
float effectLevel) |
boolean |
isUsable(ShipSystemAPI system,
ShipAPI ship) |
void |
unapply(MutableShipStatsAPI stats,
java.lang.String id) |
getActiveOverride, getDisplayNameOverride, getInOverride, getOutOverride, getRegenOverride, getUsesOverridepublic static final java.lang.Object SHIP_KEY
public static final java.lang.Object TARGET_KEY
public static final float WING_EFFECT_RANGE
public static final float RANGE
public static final java.awt.Color EFFECT_COLOR
public InterdictorArrayStats()
public void apply(MutableShipStatsAPI stats, java.lang.String id, ShipSystemStatsScript.State state, float effectLevel)
apply in interface ShipSystemStatsScriptapply in class BaseShipSystemScriptprotected java.awt.Color getEffectColor(ShipAPI ship)
public void unapply(MutableShipStatsAPI stats, java.lang.String id)
unapply in interface ShipSystemStatsScriptunapply in class BaseShipSystemScriptprotected ShipAPI findTarget(ShipAPI ship)
protected float getMaxRange(ShipAPI ship)
public ShipSystemStatsScript.StatusData getStatusData(int index, ShipSystemStatsScript.State state, float effectLevel)
getStatusData in interface ShipSystemStatsScriptgetStatusData in class BaseShipSystemScriptpublic java.lang.String getInfoText(ShipSystemAPI system, ShipAPI ship)
ShipSystemStatsScriptAdvancedgetInfoText in interface ShipSystemStatsScriptAdvancedgetInfoText in class BaseShipSystemScriptpublic boolean isUsable(ShipSystemAPI system, ShipAPI ship)
isUsable in interface ShipSystemStatsScriptAdvancedisUsable in class BaseShipSystemScript