public class NeuralTransferVisual extends BaseCombatLayeredRenderingPlugin
| Modifier and Type | Field and Description |
|---|---|
protected float |
duration |
protected FaderUtil |
fader |
protected ShipAPI |
from |
protected SpriteAPI |
sprite |
static float |
TEX_SCROLL_SPEED |
protected float |
texProgress |
protected ShipAPI |
to |
entity, layer| Constructor and Description |
|---|
NeuralTransferVisual(ShipAPI from,
ShipAPI to,
float duration) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount) |
float |
getRenderRadius() |
boolean |
isExpired() |
void |
render(CombatEngineLayers layer,
ViewportAPI viewport) |
cleanup, getActiveLayers, getEntity, initpublic static float TEX_SCROLL_SPEED
protected float duration
protected float texProgress
public NeuralTransferVisual(ShipAPI from, ShipAPI to, float duration)
public void advance(float amount)
advance in interface CombatLayeredRenderingPluginadvance in class BaseCombatLayeredRenderingPluginpublic float getRenderRadius()
getRenderRadius in interface CombatLayeredRenderingPlugingetRenderRadius in class BaseCombatLayeredRenderingPluginpublic void render(CombatEngineLayers layer, ViewportAPI viewport)
render in interface CombatLayeredRenderingPluginrender in class BaseCombatLayeredRenderingPluginpublic boolean isExpired()
isExpired in interface CombatLayeredRenderingPluginisExpired in class BaseCombatLayeredRenderingPlugin