public class RiftBeamEffect extends java.lang.Object implements EveryFrameWeaponEffectPlugin
Modifier and Type | Field and Description |
---|---|
protected IntervalUtil |
interval |
static float |
RIFT_RANGE |
static float |
TARGET_RANGE |
Constructor and Description |
---|
RiftBeamEffect() |
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.
|
CombatEntityAPI |
findTarget(BeamAPI beam,
WeaponAPI weapon,
CombatEngineAPI engine) |
Vector2f |
pickNoTargetDest(BeamAPI beam,
WeaponAPI weapon,
CombatEngineAPI engine) |
void |
spawnMine(ShipAPI source,
Vector2f mineLoc) |
public static float TARGET_RANGE
public static float RIFT_RANGE
protected IntervalUtil interval
public void advance(float amount, CombatEngineAPI engine, WeaponAPI weapon)
EveryFrameWeaponEffectPlugin
advance
in interface EveryFrameWeaponEffectPlugin
public void spawnMine(ShipAPI source, Vector2f mineLoc)
public Vector2f pickNoTargetDest(BeamAPI beam, WeaponAPI weapon, CombatEngineAPI engine)
public CombatEntityAPI findTarget(BeamAPI beam, WeaponAPI weapon, CombatEngineAPI engine)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.