The bluegammon.gui.animation package contains the general animation functionality as well as specific gui animations.

Concepts and Structures

Common animation logic is handled by AnimationEngine. This class consists of animations represented by the Animation abstract class, and uses an implementation of the RepaintRequestable interface to signal repaints (normally a Canvas). Each implementation of an Animation must define following:

This package also contains implementations of animations specific for the Bluegammon game. Some of these animations sets the gui state when they are signalled as finished by overriding the onExit method.