public class OrionDeviceStats extends BaseShipSystemScript
Modifier and Type | Class and Description |
---|---|
static class |
OrionDeviceStats.OrionDeviceParams |
static class |
OrionDeviceStats.PusherPlateImpulse |
static class |
OrionDeviceStats.PusherPlateState |
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData
Modifier and Type | Field and Description |
---|---|
protected boolean |
deployedBomb |
protected java.awt.Color |
orig |
protected OrionDeviceStats.OrionDeviceParams |
p |
protected OrionDeviceStats.PusherPlateState |
pusherState |
protected boolean |
wasIdle |
Constructor and Description |
---|
OrionDeviceStats() |
Modifier and Type | Method and Description |
---|---|
protected void |
advanceImpl(float amount,
ShipAPI ship,
ShipSystemStatsScript.State state,
float effectLevel) |
void |
apply(MutableShipStatsAPI stats,
java.lang.String id,
ShipSystemStatsScript.State state,
float effectLevel) |
protected EveryFrameCombatPlugin |
createBombImpactPlugin(ShipAPI ship,
WeaponSlotAPI launchSlot,
MissileAPI bomb,
Vector2f launchLoc,
float launchAngle) |
boolean |
isUsable(ShipSystemAPI system,
ShipAPI ship) |
protected void |
notifySpawnedExplosionParticles(Vector2f bombLoc) |
protected void |
recolor(ShipAPI ship) |
void |
spawnBomb(ShipAPI source,
WeaponSlotAPI slot) |
void |
unapply(MutableShipStatsAPI stats,
java.lang.String id) |
getActiveOverride, getDisplayNameOverride, getInfoText, getInOverride, getOutOverride, getRegenOverride, getStatusData, getUsesOverride
protected OrionDeviceStats.OrionDeviceParams p
protected OrionDeviceStats.PusherPlateState pusherState
protected java.awt.Color orig
protected boolean wasIdle
protected boolean deployedBomb
protected void recolor(ShipAPI ship)
public void apply(MutableShipStatsAPI stats, java.lang.String id, ShipSystemStatsScript.State state, float effectLevel)
apply
in interface ShipSystemStatsScript
apply
in class BaseShipSystemScript
protected void advanceImpl(float amount, ShipAPI ship, ShipSystemStatsScript.State state, float effectLevel)
public void unapply(MutableShipStatsAPI stats, java.lang.String id)
unapply
in interface ShipSystemStatsScript
unapply
in class BaseShipSystemScript
public void spawnBomb(ShipAPI source, WeaponSlotAPI slot)
protected void notifySpawnedExplosionParticles(Vector2f bombLoc)
protected EveryFrameCombatPlugin createBombImpactPlugin(ShipAPI ship, WeaponSlotAPI launchSlot, MissileAPI bomb, Vector2f launchLoc, float launchAngle)
public boolean isUsable(ShipSystemAPI system, ShipAPI ship)
isUsable
in interface ShipSystemStatsScriptAdvanced
isUsable
in class BaseShipSystemScript
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.