public class MineStrikeStats extends BaseShipSystemScript implements MineStrikeStatsAIInfoProvider
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
JITTER_COLOR |
static java.awt.Color |
JITTER_UNDER_COLOR |
static float |
LIVE_TIME |
static float |
MIN_SPAWN_DIST |
static float |
MIN_SPAWN_DIST_FRIGATE |
protected static float |
MINE_RANGE |
Constructor and Description |
---|
MineStrikeStats() |
Modifier and Type | Method and Description |
---|---|
void |
apply(MutableShipStatsAPI stats,
java.lang.String id,
ShipSystemStatsScript.State state,
float effectLevel) |
protected EveryFrameCombatPlugin |
createMissileJitterPlugin(MissileAPI mine,
float fadeInTime) |
float |
getFuseTime() |
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) |
float |
getMineRange(ShipAPI ship) |
static float |
getRange(ShipAPI ship) |
boolean |
isUsable(ShipSystemAPI system,
ShipAPI ship) |
void |
spawnMine(ShipAPI source,
Vector2f mineLoc) |
void |
unapply(MutableShipStatsAPI stats,
java.lang.String id) |
getActiveOverride, getDisplayNameOverride, getInOverride, getOutOverride, getRegenOverride, getStatusData, getUsesOverride
protected static float MINE_RANGE
public static final float MIN_SPAWN_DIST
public static final float MIN_SPAWN_DIST_FRIGATE
public static final float LIVE_TIME
public static final java.awt.Color JITTER_COLOR
public static final java.awt.Color JITTER_UNDER_COLOR
public static float getRange(ShipAPI ship)
public void apply(MutableShipStatsAPI stats, java.lang.String id, ShipSystemStatsScript.State state, float effectLevel)
apply
in interface ShipSystemStatsScript
apply
in class BaseShipSystemScript
public void unapply(MutableShipStatsAPI stats, java.lang.String id)
unapply
in interface ShipSystemStatsScript
unapply
in class BaseShipSystemScript
public void spawnMine(ShipAPI source, Vector2f mineLoc)
protected EveryFrameCombatPlugin createMissileJitterPlugin(MissileAPI mine, float fadeInTime)
protected float getMaxRange(ShipAPI ship)
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
public float getFuseTime()
getFuseTime
in interface MineStrikeStatsAIInfoProvider
public float getMineRange(ShipAPI ship)
getMineRange
in interface MineStrikeStatsAIInfoProvider
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.