|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BallEnvironment | |
|---|---|
| ballworlds.ball | |
| ballworlds.framework | |
| Uses of BallEnvironment in ballworlds.ball |
|---|
| Methods in ballworlds.ball that return BallEnvironment | |
|---|---|
protected BallEnvironment |
Dud.getBallEnvironment()
Returns the value of the field called 'ballEnvironment'. |
| Constructors in ballworlds.ball with parameters of type BallEnvironment | |
|---|---|
Ball(BallEnvironment ballEnvironment)
Adds itself to its World (otherwise, the Ball is neither displayed nor asked to act). |
|
Bouncer(BallEnvironment ballEnvironment)
Adds the Bouncer to its World at the middle of the World with the default color and diameter for a Bouncer, and with a constant but randomly chosen velocity. |
|
Dud(BallEnvironment ballEnvironment)
Adds the Dud to its World at a random location with the default color and diameter for Dud's. |
|
DudThatMoves(BallEnvironment ballEnvironment)
Adds the DudThatMoves to its World at a random location with the default color and diameter for a DudThatMoves, and with a constant velocity. |
|
Mover(BallEnvironment ballEnvironment)
Adds the Mover to its World at the middle of the World with the default color and diameter for a Mover, and with a constant but randomly chosen velocity. |
|
| Uses of BallEnvironment in ballworlds.framework |
|---|
| Classes in ballworlds.framework that implement BallEnvironment | |
|---|---|
class |
World
A World simulates a "world" that contain various kinds of "balls" (and possibly other objects). |
| Constructors in ballworlds.framework with parameters of type BallEnvironment | |
|---|---|
BallButton(String ballType,
BallEnvironment ballEnvironment)
Associates a type of Ball and a BallEnvironment 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,
BallEnvironment ballEnvironment)
Constructs and adds a BallButton for each type of Ball in BallWorlds. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||