Class Animation
java.lang.Object
|
+----java.lang.Thread
|
+----Animation
- public class Animation
- extends Thread
Animation.java
by Aaron Nall
27 Jan 1998
This class acts as an animation player which takes
a vector of AnimObjects and plays their instructions
on the target frame.
-
Animation(Vector, JeditPanel, boolean)
- Instantiates Animation.
-
run()
- This method, which is run in a separate Thread, plays through
the Vector passed to the constructor.
Animation
public Animation(Vector newAnimation,
JeditPanel target,
boolean doDelay)
- Instantiates Animation. newAnimation is a vector of
AnimObjects which will be
played on the JeditPanel
target. If doDelay is true, the animation will not be
instantaneous.
run
public void run()
- This method, which is run in a separate Thread, plays through
the Vector passed to the constructor.
- Overrides:
- run in class Thread