Package com.fs.starfarer.api.impl.combat
Class RealityDisruptorEffect
java.lang.Object
com.fs.starfarer.api.impl.combat.RealityDisruptorEffect
- All Implemented Interfaces:
EveryFrameWeaponEffectPlugin
,OnFireEffectPlugin
,OnHitEffectPlugin
public class RealityDisruptorEffect
extends Object
implements OnFireEffectPlugin, OnHitEffectPlugin, EveryFrameWeaponEffectPlugin
IMPORTANT: will be multiple instances of this, as this doubles as the every frame effect and the on fire effect (same instance)
But also as the visual for each individual shot (created via onFire, using the non-default constructor)
-
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.void
onFire
(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine) void
onHit
(DamagingProjectileAPI projectile, CombatEntityAPI target, org.lwjgl.util.vector.Vector2f point, boolean shieldHit, ApplyDamageResultAPI damageResult, CombatEngineAPI engine)
-
Field Details
-
chargeGlowEntity
-
chargeGlowPlugin
-
-
Constructor Details
-
RealityDisruptorEffect
public RealityDisruptorEffect()
-
-
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
-
onHit
public void onHit(DamagingProjectileAPI projectile, CombatEntityAPI target, org.lwjgl.util.vector.Vector2f point, boolean shieldHit, ApplyDamageResultAPI damageResult, CombatEngineAPI engine) - Specified by:
onHit
in interfaceOnHitEffectPlugin
-
onFire
- Specified by:
onFire
in interfaceOnFireEffectPlugin
-