public class RealityDisruptorChargeGlow extends CombatEntityPluginWithParticles
Modifier and Type | Class and Description |
---|---|
static class |
RealityDisruptorChargeGlow.EMPArcHitType |
static class |
RealityDisruptorChargeGlow.RDRepairRateDebuff |
CombatEntityPluginWithParticles.ParticleData
Modifier and Type | Field and Description |
---|---|
static float |
ARC_RATE_MULT |
protected IntervalUtil |
arcInterval |
protected float |
delay |
protected IntervalUtil |
interval |
static int |
MAX_ARC_RANGE |
protected DamagingProjectileAPI |
proj |
static float |
REPAIR_RATE_DEBUFF_DUR |
static float |
REPAIR_RATE_MULT |
static java.awt.Color |
RIFT_COLOR |
static java.lang.Object |
STATUS_KEY |
static java.awt.Color |
UNDERCOLOR |
protected WeaponAPI |
weapon |
baseFacing, darkLayer, darkParticles, darkSpriteSheetKey, layers, normalLayer, particles, prev, spriteSheetKey
entity, layer
Constructor and Description |
---|
RealityDisruptorChargeGlow(WeaponAPI weapon) |
Modifier and Type | Method and Description |
---|---|
void |
addChargingParticles(WeaponAPI weapon) |
void |
advance(float amount) |
void |
attachToProjectile(DamagingProjectileAPI proj) |
CombatEntityAPI |
findTarget(DamagingProjectileAPI projectile,
WeaponAPI weapon,
CombatEngineAPI engine) |
protected float |
getGlobalAlphaMult() |
float |
getRenderRadius() |
boolean |
isExpired() |
static boolean |
isProjectileExpired(DamagingProjectileAPI proj) |
static boolean |
isWeaponCharging(WeaponAPI weapon) |
Vector2f |
pickNoTargetDest(DamagingProjectileAPI projectile,
WeaponAPI weapon,
CombatEngineAPI engine) |
void |
render(CombatEngineLayers layer,
ViewportAPI viewport) |
void |
spawnArc() |
void |
spawnEMPParticles(RealityDisruptorChargeGlow.EMPArcHitType type,
Vector2f point,
CombatEntityAPI target) |
addDarkParticle, addParticle, getActiveLayers, getDarkSpriteSheetKey, getSpriteSheetKey, init, randomizePrevParticleLocation, render, setDarkSpriteSheetKey, setSpriteSheetKey
cleanup
public static float ARC_RATE_MULT
public static int MAX_ARC_RANGE
public static float REPAIR_RATE_MULT
public static float REPAIR_RATE_DEBUFF_DUR
public static java.awt.Color UNDERCOLOR
public static java.awt.Color RIFT_COLOR
public static java.lang.Object STATUS_KEY
protected WeaponAPI weapon
protected DamagingProjectileAPI proj
protected IntervalUtil interval
protected IntervalUtil arcInterval
protected float delay
public RealityDisruptorChargeGlow(WeaponAPI weapon)
public void attachToProjectile(DamagingProjectileAPI proj)
public void advance(float amount)
advance
in interface CombatLayeredRenderingPlugin
advance
in class CombatEntityPluginWithParticles
public void render(CombatEngineLayers layer, ViewportAPI viewport)
render
in interface CombatLayeredRenderingPlugin
render
in class CombatEntityPluginWithParticles
public boolean isExpired()
isExpired
in interface CombatLayeredRenderingPlugin
isExpired
in class CombatEntityPluginWithParticles
public float getRenderRadius()
getRenderRadius
in interface CombatLayeredRenderingPlugin
getRenderRadius
in class BaseCombatLayeredRenderingPlugin
protected float getGlobalAlphaMult()
getGlobalAlphaMult
in class CombatEntityPluginWithParticles
public void spawnArc()
public Vector2f pickNoTargetDest(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
public CombatEntityAPI findTarget(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
public void addChargingParticles(WeaponAPI weapon)
public void spawnEMPParticles(RealityDisruptorChargeGlow.EMPArcHitType type, Vector2f point, CombatEntityAPI target)
public static boolean isProjectileExpired(DamagingProjectileAPI proj)
public static boolean isWeaponCharging(WeaponAPI weapon)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.