ballWorlds
Interface World

All Superinterfaces:
BallManager, Drawable, WorldDescriber
All Known Implementing Classes:
VisibleWorld, WorldWithManyThreads, WorldWithTwoOrThreeThreads

public interface World
extends BallManager, WorldDescriber

A World contains Balls and can do things on behalf of those Balls (and other objects). It is both a BallManager (which allows Balls to be added or removed) and a WorldDescriber (i.e., it can return information about itself). Every Ball should belong to at least one World.

Author:
David Mutchler, Salman Azhar, Curt Clifton and others, January 2005. Modified September 2008, September 2009.

Method Summary
 
Methods inherited from interface ballWorlds.BallManager
addBall, allBallsInWorld, intersectingBall, intersectingBalls, nearestBall, removeBall
 
Methods inherited from interface ballWorlds.WorldDescriber
getAllWorlds, getAnotherWorld, isInsideWorldX, isInsideWorldY, middleOfWorld, randomPointInWorld
 
Methods inherited from interface ballWorlds.Drawable
getColor, getShape