Class jovial.slotCar.animator.Animatee
All Packages Class Hierarchy This Package Previous Next Index
Class jovial.slotCar.animator.Animatee
java.lang.Object
|
+----jovial.slotCar.animator.Animatee
- public class Animatee
- extends Object
A class representing something being animated. This class is responsible
for providing its Animator with a list of drawables, and for causing the
action to "happen". Animator tells its Animatee that time has passed,
which should result in the positions of its drawables moving. It then
asks all of the drawables to draw themselves.
-
Animatee()
-
-
move(long)
- Cause the scene being animated to move ahead in time by deltaT
milliseconds.
-
preferredSize()
- Give the size our view will want to be
Animatee
public Animatee()
move
public abstract void move(long deltaT)
- Cause the scene being animated to move ahead in time by deltaT
milliseconds. This should *not* cause any re-display... Animator
will ask its drawables to re-draw themselves for that.
- Parameters:
- deltaT - Amount of time that has passed, in milliseconds
preferredSize
public abstract Dimension preferredSize()
- Give the size our view will want to be
- Returns:
- Dimension The size, in pixels
All Packages Class Hierarchy This Package Previous Next Index