public class EntropyAmplifierStats extends BaseShipSystemScript
| Modifier and Type | Class and Description |
|---|---|
static class |
EntropyAmplifierStats.TargetData |
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData| Modifier and Type | Field and Description |
|---|---|
static float |
DAM_MULT |
static java.awt.Color |
JITTER_COLOR |
static java.awt.Color |
JITTER_UNDER_COLOR |
static java.lang.Object |
KEY_SHIP |
static java.lang.Object |
KEY_TARGET |
protected static float |
RANGE |
static java.awt.Color |
TEXT_COLOR |
| Constructor and Description |
|---|
EntropyAmplifierStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MutableShipStatsAPI stats,
java.lang.String id,
ShipSystemStatsScript.State state,
float effectLevel) |
protected ShipAPI |
findTarget(ShipAPI ship) |
java.lang.String |
getInfoText(ShipSystemAPI system,
ShipAPI ship)
If null, uses "READY" and "ACTIVE" as appropritate in the ship info widget.
|
static 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 java.lang.Object KEY_SHIP
public static java.lang.Object KEY_TARGET
public static float DAM_MULT
protected static float RANGE
public static java.awt.Color TEXT_COLOR
public static java.awt.Color JITTER_COLOR
public static java.awt.Color JITTER_UNDER_COLOR
public EntropyAmplifierStats()
public void apply(MutableShipStatsAPI stats, java.lang.String id, ShipSystemStatsScript.State state, float effectLevel)
apply in interface ShipSystemStatsScriptapply in class BaseShipSystemScriptpublic void unapply(MutableShipStatsAPI stats, java.lang.String id)
unapply in interface ShipSystemStatsScriptunapply in class BaseShipSystemScriptprotected ShipAPI findTarget(ShipAPI ship)
public static 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