Package com.fs.starfarer.api.impl.combat
Class RiftTorpedoEffect
java.lang.Object
com.fs.starfarer.api.impl.combat.RiftTorpedoEffect
- All Implemented Interfaces:
OnFireEffectPlugin
,OnHitEffectPlugin
IMPORTANT: will be multiple instances of this, one for the the OnFire (per weapon) and one for the OnHit (per torpedo) effects.
(Well, no data members, so not *that* important.)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Constructor Details
-
RiftTorpedoEffect
public RiftTorpedoEffect()
-
-
Method Details
-
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
-