|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.tools.time.interpolator.ExpTime
public class ExpTime
Interpolates a value exponential from 0.0 to 1.0 with the given time parameters.
| Constructor Summary | |
|---|---|
ExpTime()
|
|
| Method Summary | |
|---|---|
float |
getValue(long lengthParameter,
long timePassed)
get a new value. |
void |
initialize(Properties parameter)
initialize. |
void |
start()
In case the Interpolator wants to set some value when started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpTime()
| Method Detail |
|---|
public final void initialize(Properties parameter)
Interpolator
initialize in interface Interpolatorparameter - parameterpublic void start()
Interpolator
start in interface Interpolator
public final float getValue(long lengthParameter,
long timePassed)
Interpolator
getValue in interface InterpolatorlengthParameter - effect length in mstimePassed - time already passed in ms
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||