public interface EffectImpl
Modifier and Type | Method and Description |
---|---|
void |
activate(Nifty nifty,
Element element,
EffectProperties parameter)
initialize effect.
|
void |
deactivate()
deactivate the effect.
|
void |
execute(Element element,
float effectTime,
Falloff falloff,
NiftyRenderEngine r)
execute the effect.
|
void activate(Nifty nifty, Element element, EffectProperties parameter)
nifty
- Niftyelement
- Elementparameter
- parametersvoid execute(Element element, float effectTime, Falloff falloff, NiftyRenderEngine r)
element
- the ElementeffectTime
- current effect timefalloff
- the Falloff class for hover effects. This is supposed to be null for none hover effects.r
- RenderDevice to usevoid deactivate()
Copyright © 2013. All Rights Reserved.