|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Animation
An Animation is a transition from one Object to another Object. That transition is indexed
by a float value from 0.0 to 1.0 where 0.0 represents the start of the transition
and 1.0 the end.
| Method Summary | |
|---|---|
int |
getFrameCount()
Returns the optimum frame count. |
java.lang.Object |
getObject(float f)
Returns an object that represents the animation at point f. |
| Method Detail |
|---|
java.lang.Object getObject(float f)
f. f should be normally be within
0.0f and 1.0f (inclusive).
f - 0.0f to 1.0f. 0.0f is the first "frame" and 1.0f is the last.
f. Object should be treated as read-only unless specified
othervise by sub classes.int getFrameCount()
Integer.MAX_VALUE.
This max value must be handeled by subclasses so they can't just allocate an array of this size.Integer.MAX_VALUE should always defer any caching of the objects for instance.
Integer.MAX_VALUE == unlimited.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||