|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface World
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.
| 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 |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||