Class SwarmLauncherEffect
java.lang.Object
com.fs.starfarer.api.impl.combat.threat.SwarmLauncherEffect
- All Implemented Interfaces:
EveryFrameWeaponEffectPlugin
,OnFireEffectPlugin
,SwarmLaunchingWeapon
public class SwarmLauncherEffect
extends Object
implements OnFireEffectPlugin, EveryFrameWeaponEffectPlugin, SwarmLaunchingWeapon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount, CombatEngineAPI engine, WeaponAPI weapon) Called before this frame's operations for the weapon - turning, firing, etc.int
int
int
getWingSize
(WeaponAPI weapon) void
onFire
(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
-
Field Details
-
CONSTRUCTION_SWARM_WING
-
CONSTRUCTION_SWARM_VARIANT
-
RECLAMATION_SWARM_WING
-
RECLAMATION_SWARM_VARIANT
-
ATTACK_SWARM_HULL
-
ATTACK_SWARM_WING
-
ATTACK_SWARM_VARIANT
-
SWARM_LAUNCHER
-
IMPACT_VOLUME_MULT
public static float IMPACT_VOLUME_MULT -
INITIAL_SPAWN_DELAY
public static float INITIAL_SPAWN_DELAY -
FRAGMENT_NUM
-
SWARM_RADIUS
-
WING_SIZE
-
WING_IDS
-
currWing
-
waitUntilOneLeft
protected boolean waitUntilOneLeft -
elapsed
protected float elapsed
-
-
Constructor Details
-
SwarmLauncherEffect
public SwarmLauncherEffect()
-
-
Method Details
-
advance
Description copied from interface:EveryFrameWeaponEffectPlugin
Called before this frame's operations for the weapon - turning, firing, etc.- Specified by:
advance
in interfaceEveryFrameWeaponEffectPlugin
-
getWingId
-
getWingSize
-
onFire
- Specified by:
onFire
in interfaceOnFireEffectPlugin
-
getPreferredNumFragmentsToFireConsideringAllWeapons
-
getPreferredNumFragmentsToFire
- Specified by:
getPreferredNumFragmentsToFire
in interfaceSwarmLaunchingWeapon
-