public class AutoScroll extends Object implements EffectImpl
Constructor and Description |
---|
AutoScroll() |
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 normalizedTime,
Falloff falloff,
NiftyRenderEngine r)
execute the effect.
|
public void activate(Nifty nifty, Element element, EffectProperties parameter)
EffectImpl
activate
in interface EffectImpl
nifty
- Niftyelement
- Elementparameter
- parameterspublic void execute(Element element, float normalizedTime, Falloff falloff, NiftyRenderEngine r)
EffectImpl
execute
in interface EffectImpl
element
- the ElementnormalizedTime
- current effect timefalloff
- the Falloff class for hover effects. This is supposed to be null for none hover effects.r
- RenderDevice to usepublic void deactivate()
EffectImpl
deactivate
in interface EffectImpl
Copyright © 2013. All Rights Reserved.