public class OneTime extends Object implements Interpolator
| Constructor and Description |
|---|
OneTime() |
| Modifier and Type | Method and Description |
|---|---|
float |
getValue(long lengthParam,
long timePassed)
get a new value.
|
void |
initialize(Properties parameter)
initialize.
|
void |
start()
In case the Interpolator wants to set some value when started.
|
public final void initialize(Properties parameter)
Interpolatorinitialize in interface Interpolatorparameter - Properties used to parameterize this classpublic void start()
Interpolatorstart in interface Interpolatorpublic final float getValue(long lengthParam,
long timePassed)
InterpolatorgetValue in interface InterpolatorlengthParam - max length of effect in mstimePassed - time already passed in msCopyright © 2013. All Rights Reserved.