ballWorlds.framework
Class BallRunner
java.lang.Object
ballWorlds.framework.BallRunner
- All Implemented Interfaces:
- Runnable
public class BallRunner
- extends Object
- implements Runnable
TODO Put here a description of this class: what its objects are and/or do.
- Author:
- mutchler. Created Sep 20, 2009.
|
Method Summary |
void |
run()
Repeatedly asks this WorldDrawer's WorldView to repaint (i.e., to redraw
its associated World and Balls). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TIME_TO_SLEEP_BETWEEN_REPAINTS
public static final int TIME_TO_SLEEP_BETWEEN_REPAINTS
- Milliseconds to sleep between repaints of the World and its Balls.
- See Also:
- Constant Field Values
BallRunner
public BallRunner(Ball ballToRun)
- FIXME
- Parameters:
worldView - The WorldView that this WorldDrawer repeatedly asks to
repaint.
run
public void run()
- Repeatedly asks this WorldDrawer's WorldView to repaint (i.e., to redraw
its associated World and Balls).
- Specified by:
run in interface Runnable