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, spriteSheetKeyentity, 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) |
org.lwjgl.util.vector.Vector2f |
pickNoTargetDest(DamagingProjectileAPI projectile,
WeaponAPI weapon,
CombatEngineAPI engine) |
void |
render(CombatEngineLayers layer,
ViewportAPI viewport) |
void |
spawnArc() |
static void |
spawnEMPParticles(RealityDisruptorChargeGlow.EMPArcHitType type,
DamagingProjectileAPI proj,
org.lwjgl.util.vector.Vector2f point,
CombatEntityAPI target) |
addDarkParticle, addParticle, getActiveLayers, getDarkSpriteSheetKey, getSpriteSheetKey, init, randomizePrevParticleLocation, render, setDarkSpriteSheetKey, setSpriteSheetKeycleanup, getEntitypublic 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 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 CombatLayeredRenderingPluginadvance in class CombatEntityPluginWithParticlespublic void render(CombatEngineLayers layer, ViewportAPI viewport)
render in interface CombatLayeredRenderingPluginrender in class CombatEntityPluginWithParticlespublic boolean isExpired()
isExpired in interface CombatLayeredRenderingPluginisExpired in class CombatEntityPluginWithParticlespublic float getRenderRadius()
getRenderRadius in interface CombatLayeredRenderingPlugingetRenderRadius in class BaseCombatLayeredRenderingPluginprotected float getGlobalAlphaMult()
getGlobalAlphaMult in class CombatEntityPluginWithParticlespublic void spawnArc()
public org.lwjgl.util.vector.Vector2f pickNoTargetDest(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
public CombatEntityAPI findTarget(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
public void addChargingParticles(WeaponAPI weapon)
public static void spawnEMPParticles(RealityDisruptorChargeGlow.EMPArcHitType type, DamagingProjectileAPI proj, org.lwjgl.util.vector.Vector2f point, CombatEntityAPI target)
public static boolean isProjectileExpired(DamagingProjectileAPI proj)
public static boolean isWeaponCharging(WeaponAPI weapon)