gecco.client.animation
Interface Animator
- All Known Implementing Classes:
- Game
- public interface Animator
An Animator handles the animation of an AnimatedPiece.
- Author:
- Andreas Enblom
repaintAnimation
public void repaintAnimation(AnimatedPiece p)
- The animated piece calls this method to indicate that it has changed
image and wishes to be repainted.
- Parameters:
p
- Description of Parameter
animationDone
public void animationDone(AnimatedPiece p)
- The animated piece calls this method when the animation is done. Some
pieces have finite animation, other do not. Also called when the
animation is stopped for some animated piece.
- Parameters:
p
- Description of Parameter