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, getUsesOverride
public 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 void apply(MutableShipStatsAPI stats, java.lang.String id, ShipSystemStatsScript.State state, float effectLevel)
apply
in interface ShipSystemStatsScript
apply
in class BaseShipSystemScript
protected java.awt.Color getEffectColor(ShipAPI ship)
public void unapply(MutableShipStatsAPI stats, java.lang.String id)
unapply
in interface ShipSystemStatsScript
unapply
in class BaseShipSystemScript
protected float getMaxRange(ShipAPI ship)
public ShipSystemStatsScript.StatusData getStatusData(int index, ShipSystemStatsScript.State state, float effectLevel)
getStatusData
in interface ShipSystemStatsScript
getStatusData
in class BaseShipSystemScript
public java.lang.String getInfoText(ShipSystemAPI system, ShipAPI ship)
ShipSystemStatsScriptAdvanced
getInfoText
in interface ShipSystemStatsScriptAdvanced
getInfoText
in class BaseShipSystemScript
public boolean isUsable(ShipSystemAPI system, ShipAPI ship)
isUsable
in interface ShipSystemStatsScriptAdvanced
isUsable
in class BaseShipSystemScript
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.