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,
org.lwjgl.util.vector.Vector2f launchLoc,
float launchAngle) |
boolean |
isUsable(ShipSystemAPI system,
ShipAPI ship) |
protected void |
notifySpawnedExplosionParticles(org.lwjgl.util.vector.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, getUsesOverrideprotected OrionDeviceStats.OrionDeviceParams p
protected OrionDeviceStats.PusherPlateState pusherState
protected java.awt.Color orig
protected boolean wasIdle
protected boolean deployedBomb
public OrionDeviceStats()
public void apply(MutableShipStatsAPI stats, java.lang.String id, ShipSystemStatsScript.State state, float effectLevel)
apply in interface ShipSystemStatsScriptapply in class BaseShipSystemScriptprotected void advanceImpl(float amount, ShipAPI ship, ShipSystemStatsScript.State state, float effectLevel)
public void unapply(MutableShipStatsAPI stats, java.lang.String id)
unapply in interface ShipSystemStatsScriptunapply in class BaseShipSystemScriptpublic void spawnBomb(ShipAPI source, WeaponSlotAPI slot)
protected void notifySpawnedExplosionParticles(org.lwjgl.util.vector.Vector2f bombLoc)
protected EveryFrameCombatPlugin createBombImpactPlugin(ShipAPI ship, WeaponSlotAPI launchSlot, MissileAPI bomb, org.lwjgl.util.vector.Vector2f launchLoc, float launchAngle)
public boolean isUsable(ShipSystemAPI system, ShipAPI ship)
isUsable in interface ShipSystemStatsScriptAdvancedisUsable in class BaseShipSystemScript