Class AssayingRiftEffect
java.lang.Object
com.fs.starfarer.api.impl.combat.dweller.AssayingRiftEffect
- All Implemented Interfaces:
EveryFrameWeaponEffectPlugin
,OnFireEffectPlugin
,OnHitEffectPlugin
public class AssayingRiftEffect
extends Object
implements OnFireEffectPlugin, OnHitEffectPlugin, EveryFrameWeaponEffectPlugin
IMPORTANT: will be multiple instances of this, one for the the OnFire (per weapon) and one for the OnHit (per missile) effects.
(Well, no data members, so not *that* important.)
-
Nested Class Summary
Nested Classes -
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
-
HUNGERING_RIFT_HEAL_MULT_STAT
-
HEAL_AMOUNT
public static float HEAL_AMOUNT -
ASSAYING_RIFT
-
MAX_RIFTS
public static int MAX_RIFTSOne Hungering Rift weapon can produce up to 5 or so rifts at a time if they're fired non-stop and don't hit anything early.
-
-
Constructor Details
-
AssayingRiftEffect
public AssayingRiftEffect()
-
-
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
-