|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCSE115.ShapeWorld.ShapeAnimator
Tells balls when to move. Created: Sun Feb 10 14:53:56 2002
| Method Summary | |
void |
addShape(Shape b)
Add a shape to the animator. |
void |
deleteShape(Shape b)
Remove a shape from the animator. |
void |
deleteShapes()
Remove all the shapes from the animator. |
void |
setDelay(int delay)
Set the delay between moving the shapes. |
static ShapeAnimator |
singleton()
Get the ShapeAnimator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ShapeAnimator singleton()
public void addShape(Shape b)
b - the shape to add.public void deleteShape(Shape b)
b - the shape to remove.public void deleteShapes()
public void setDelay(int delay)
delay - the new delay.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||