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 VPDriverEffect()
public void advance(float amount, CombatEngineAPI engine, WeaponAPI weapon)
EveryFrameWeaponEffectPluginadvance in interface EveryFrameWeaponEffectPluginpublic static float getRoFMult(WeaponAPI weapon)
public void onFire(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
onFire in interface OnFireEffectPlugin