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.
 

Method Detail

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 - Animation
elapsed - Elapsed time
current - Current value of transition