ballWorlds
Interface Ball
- All Superinterfaces:
- Animate, BallDescriber, Drawable, Morphable, Selectable
public interface Ball
- extends Drawable, Selectable, Morphable, Animate, BallDescriber
A Ball is the name for a "generic" ball, that is, any Drawable, Selectable,
Morphable, Animate object that is also a BallDescriber.
Specific kinds of Balls are expected to do other things like move on their
own, bounce, shrink and grow in size, explode, and be draggable by the mouse.
Every class that implements Ball must have a constructor that takes
a World object.
- Author:
- David Mutchler, Salman Azhar, Curt Clifton and others, January 2005.
Modified September 2008, September 2009.