Class VoltaicDischargeOnFireEffect
java.lang.Object
com.fs.starfarer.api.impl.combat.threat.VoltaicDischargeOnFireEffect
- All Implemented Interfaces:
EveryFrameWeaponEffectPlugin
,OnFireEffectPlugin
,FragmentWeapon
public class VoltaicDischargeOnFireEffect
extends Object
implements OnFireEffectPlugin, EveryFrameWeaponEffectPlugin, FragmentWeapon
-
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.findTarget
(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine) int
static boolean
isSwarmPhaseMode
(ShipAPI ship) void
onFire
(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine) pickFragmentTowardsPointWithinRange
(RoilingSwarmEffect swarm, org.lwjgl.util.vector.Vector2f towards, float maxRange) org.lwjgl.util.vector.Vector2f
pickNoTargetDest
(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine) static void
setSwarmPhaseMode
(ShipAPI ship) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.impl.combat.threat.FragmentWeapon
showNoFragmentSwarmWarning
-
Field Details
-
SWARM_TAG_PHASE_MODE
-
EMP_FRINGE_COLOR_BRIGHT
-
EMP_FRINGE_COLOR
-
PHASE_FRINGE_COLOR
-
PHASE_CORE_COLOR
-
EXTRA_ARC
public static float EXTRA_ARC -
FRAGMENTS_TO_FIRE
public static int FRAGMENTS_TO_FIRE
-
-
Constructor Details
-
VoltaicDischargeOnFireEffect
public VoltaicDischargeOnFireEffect()
-
-
Method Details
-
isSwarmPhaseMode
-
setSwarmPhaseMode
-
advance
Description copied from interface:EveryFrameWeaponEffectPlugin
Called before this frame's operations for the weapon - turning, firing, etc.- Specified by:
advance
in interfaceEveryFrameWeaponEffectPlugin
-
getNumFragmentsToFire
public int getNumFragmentsToFire()- Specified by:
getNumFragmentsToFire
in interfaceFragmentWeapon
-
onFire
- Specified by:
onFire
in interfaceOnFireEffectPlugin
-
pickNoTargetDest
public org.lwjgl.util.vector.Vector2f pickNoTargetDest(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine) -
findTarget
public CombatEntityAPI findTarget(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine) -
pickFragmentTowardsPointWithinRange
public static RoilingSwarmEffect.SwarmMember pickFragmentTowardsPointWithinRange(RoilingSwarmEffect swarm, org.lwjgl.util.vector.Vector2f towards, float maxRange)
-