|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use World | |
|---|---|
| ballWorlds | |
| ballWorlds.framework | |
| Uses of World in ballWorlds |
|---|
| Methods in ballWorlds that return World | |
|---|---|
World |
WorldDescriber.getAnotherWorld()
Returns a random other World (or this World if it is the only one). |
| Methods in ballWorlds that return types with arguments of type World | |
|---|---|
List<World> |
WorldDescriber.getAllWorlds()
Returns a List |
| Methods in ballWorlds with parameters of type World | |
|---|---|
void |
Morphable.moveTo(Point2D point,
World world)
Moves this Morphable object to the given Point2D in the given World. |
void |
Morphable.moveTo(World world)
Moves this Morphable object from its current World to the given World, but maintaining the same position (point) at which the Morphable currently lives. |
| Uses of World in ballWorlds.framework |
|---|
| Classes in ballWorlds.framework that implement World | |
|---|---|
class |
VisibleWorld
A World manages the Balls that it contains; a VisibleWorld is a World that just displays the balls, without asking them to act. |
class |
WorldWithManyThreads
TODO Put here a description of this class: what its objects are and/or do. |
class |
WorldWithTwoOrThreeThreads
TODO Put here a description of this class: what its objects are and/or do. |
| Methods in ballWorlds.framework that return World | |
|---|---|
World |
VisibleWorld.getAnotherWorld()
|
| Methods in ballWorlds.framework that return types with arguments of type World | |
|---|---|
List<World> |
VisibleWorld.getAllWorlds()
|
| Constructors in ballWorlds.framework with parameters of type World | |
|---|---|
BallButton(String ballType,
World world)
Associates a type of Ball and a World with this button, labels this button with the type of Ball, and arranges for this button to respond to its own button-presses. |
|
ButtonsPanel(Dimension size,
World ballEnvironment)
Constructs and adds a BallButton for each type of Ball in BallWorlds. |
|
| Constructor parameters in ballWorlds.framework with type arguments of type World | |
|---|---|
VisibleWorld(List<World> universe,
Dimension size,
Color color,
JFrame ballWorldFrame)
Sets the World's size, color, and home frame to the given values. |
|
WorldWithManyThreads(List<World> universe,
Dimension size,
Color color,
JFrame ballWorldFrame)
TODO Put here a description of what this constructor does. |
|
WorldWithTwoOrThreeThreads(List<World> universe,
Dimension size,
Color color,
JFrame ballWorldFrame,
boolean hasThreeThreads)
TODO Put here a description of what this constructor does. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||