simulation_Lab06Version
Class AnimationController

java.lang.Object
  extended by 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

Constructor Summary
AnimationController(Model model)
           
 
Method Summary
 void actionPerformed(ActionEvent ae)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationController

public AnimationController(Model model)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent ae)
Specified by:
actionPerformed in interface ActionListener