|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Abstract Animated Value. Types to be animated must implement this.
| Method Summary | |
AnimatedValue |
add(AnimatedValue val)
Add val to this. |
void |
clampValue()
|
float |
distance(AnimatedValue val)
Calculates the distance between this and val. |
AnimatedValue |
interpolate(AnimatedValue val,
float t)
Interpolate between this and val by t, where t is [0,1]. |
AnimatedValue |
mult(int integer)
Multiply this by integer value. |
java.lang.String |
toString()
Parse this string into value. |
| Method Detail |
public java.lang.String toString()
public void clampValue()
public AnimatedValue add(AnimatedValue val)
val - Val to be added to this.
public AnimatedValue mult(int integer)
integer - Integer value
public AnimatedValue interpolate(AnimatedValue val,
float t)
val - AnimatedValue
public float distance(AnimatedValue val)
val - AnimatedValue
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||