Package ca.cgjennings.ui.anim
Interface FrameComposer
-
- All Known Implementing Classes:
AbstractFilteredComposer,Animation,TimeShiftedComposer,TweenAnimation
public interface FrameComposerImplemented by objects that compose animations.- Author:
- Chris Jennings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomposeFrame(float position)This method is called with a value between 0 (start) and 1 (end).
-
-
-
Method Detail
-
composeFrame
void composeFrame(float position)
This method is called with a value between 0 (start) and 1 (end). It should set up the animation state proportionally between these two conditions.- Parameters:
position- the interpolated position at which to compose the frame between the start and end key frames
-
-