Artenus 2D Framework
Artenus Reference
Interface for classes that handle animations. In order to make animations effective, you should set their animation to an animation handler instance using setAnimation(AnimationHandler).
public interface AnimationHandler

Method Summary

Modifier and TypeMethod and Description
public voidadvance(Animatable animatable, float elapsedTime)
Called whenever the animation should update the animatable based on elapsed time.

Method Detail

advance
public void advance(
    Animatable animatable,
    float elapsedTime
)
Called whenever the animation should update the animatable based on elapsed time.
Parameters:
animatableThe Animatable object to be updated
elapsedTimeElapsed time in seconds since the last frame
See Also: