simulation_Lab06Version
Class AnimationController
java.lang.Object
simulation_Lab06Version.AnimationController
- All Implemented Interfaces:
- ActionListener, EventListener
public class AnimationController
- extends Object
- implements ActionListener
This class encapsulates functionality for drawing successive frames of an animation.
The animated scene is specified by an animation model that is provided.
This class encapsulates functionality as an ActionListener, so that objects of
this type can listen for events that trigger the drawing of the successive frames.
- Author:
- mb
AnimationController
public AnimationController(Model model)
actionPerformed
public void actionPerformed(ActionEvent ae)
- Specified by:
actionPerformed
in interface ActionListener