Interface AnimationCallback
public interface AnimationCallback
This interface represents function protoype for handling animation.
Animation is timed transition from source state to target state.
|
Method Summary |
void |
animate(Animation anim,
int elapsed,
int current)
Handle animation by interpolating the current state and use it to
perform desired animation effect. |
animate
void animate(Animation anim,
int elapsed,
int current)
- Handle animation by interpolating the current state and use it to
perform desired animation effect.
- Parameters:
anim - Animationelapsed - Elapsed timecurrent - Current value of transition