Package ca.cgjennings.ui.anim
Interface FrameComposer
-
- All Known Implementing Classes:
AbstractFilteredComposer
,Animation
,TimeShiftedComposer
,TweenAnimation
public interface FrameComposer
Implemented by objects that compose animations.- Author:
- Chris Jennings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
composeFrame(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
-
-