Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
M
N
P
R
S
U
V
W
_
C
Change1Strategy
- Class in
ballworld.model.strategy
A composite strategy that switches the context's strategy to a Change2Strategy after a certain number of updates.
Change1Strategy()
- Constructor for class ballworld.model.strategy.
Change1Strategy
Constructor for the strategy.
Change2Strategy
- Class in
ballworld.model.strategy
This strategy does nothing (i.e.
Change2Strategy()
- Constructor for class ballworld.model.strategy.
Change2Strategy
clearBalls()
- Method in class ballworld.model.
BallModel
Clear all the ball from the system.
clearBalls()
- Method in interface ballworld.view.
IModelControlAdapter
Clear all the balls from the system
color
- Variable in class ballworld.model.paint.
FixedColorDecoratorPaintStrategy
The color that will be painted.
ColorStrategy
- Class in
ballworld.model.strategy
Strategy to randomly change the context ball's color.
ColorStrategy()
- Constructor for class ballworld.model.strategy.
ColorStrategy
combineStrategies(Object, Object)
- Method in interface ballworld.view.
IModelControlAdapter
Return a new object to put on both lists, given two items from the lists.
combineStrategyFacs(IUpdateStrategyFac, IUpdateStrategyFac)
- Method in class ballworld.model.
BallModel
Returns an IStrategyFac that can instantiate a MultiStrategy with the two strategies made by the two given IUpdateStrategyFac objects.
cosA
- Variable in class ballworld.model.strategy.
CurveStrategy
Pre-calculated cosine of the turning angle
count
- Variable in class ballworld.model.paint.
AnimatePaintStrategy
The counter that keeps track of which paint strategy to use next.
count
- Variable in class ballworld.model.strategy.
Change1Strategy
The number of updates before the context's strategy is changed.
count
- Variable in class ballworld.model.strategy.
Change2Strategy
The number of updates before the host's strategy is changed.
CurveStrategy
- Class in
ballworld.model.strategy
Strategy to make the ball curve in a circle
CurveStrategy()
- Constructor for class ballworld.model.strategy.
CurveStrategy
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
M
N
P
R
S
U
V
W
_