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,
org.lwjgl.util.vector.Vector2f mineLoc) |
void |
unapply(MutableShipStatsAPI stats,
java.lang.String id) |
getActiveOverride, getDisplayNameOverride, getInOverride, getOutOverride, getRegenOverride, getStatusData, getUsesOverrideprotected 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 MineStrikeStats()
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 EveryFrameCombatPlugin createMissileJitterPlugin(MissileAPI mine, float fadeInTime)
protected float getMaxRange(ShipAPI ship)
public 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 BaseShipSystemScriptpublic float getFuseTime()
getFuseTime in interface MineStrikeStatsAIInfoProviderpublic float getMineRange(ShipAPI ship)
getMineRange in interface MineStrikeStatsAIInfoProvider