public class VPDriverEffect extends java.lang.Object implements OnFireEffectPlugin, EveryFrameWeaponEffectPlugin
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SHOTS |
static float |
MIN_COOLDOWN |
protected java.util.List<DamagingProjectileAPI> |
shots |
Constructor and Description |
---|
VPDriverEffect() |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount,
CombatEngineAPI engine,
WeaponAPI weapon)
Called before this frame's operations for the weapon - turning, firing, etc.
|
static float |
getRoFMult(WeaponAPI weapon) |
void |
onFire(DamagingProjectileAPI projectile,
WeaponAPI weapon,
CombatEngineAPI engine) |
public static float MIN_COOLDOWN
public static int MAX_SHOTS
protected java.util.List<DamagingProjectileAPI> shots
public void advance(float amount, CombatEngineAPI engine, WeaponAPI weapon)
EveryFrameWeaponEffectPlugin
advance
in interface EveryFrameWeaponEffectPlugin
public static float getRoFMult(WeaponAPI weapon)
public void onFire(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
onFire
in interface OnFireEffectPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.