Public Member Functions | |
AnimationTimer (int delay, ActionListener listener) | |
Constructs an AnimationTimer. | |
Animation | getAnimation () |
Gets the Animation associated with this timer. | |
void | setAnimation (Animation a) |
Sets the Animation associated with this timer. | |
Private Attributes | |
Animation | animation |
The Animation this Timer is timing. |
edu.cmu.hcii.calo.view.animation.AnimationTimer.AnimationTimer | ( | int | delay, | |
ActionListener | listener | |||
) |
Constructs an AnimationTimer.
delay | how often the timer fires | |
listener | what object should be notified when the timer fires |
Animation edu.cmu.hcii.calo.view.animation.AnimationTimer.getAnimation | ( | ) |
void edu.cmu.hcii.calo.view.animation.AnimationTimer.setAnimation | ( | Animation | a | ) |
The Animation this Timer is timing.