Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
U
W
_
M
main(String[])
- Static method in class ballwar.controller.
BallControl
Entry point to the program.
make()
- Method in interface ballwar.controller.
BallControl.IPaintFac
Instantiate an IPaintStrategy
make()
- Method in interface ballwar.controller.
BallControl.IStrategyFac
Instantiate an IUpdateStrategy
makeBall(Object, Object)
- Method in interface ballwar.view.
IBallCreateAdapter
Makes a ball in the model using the given factory, whose type and usage is unavailable to the view.
makePlayer(String, IMovementKeys)
- Method in class ballwar.model.
BallModel
Makes a play8er object given a name and a set of movement keys.
makePlayer(String)
- Method in interface ballwar.view.
IGameCtrlAdapter
Asks the model to create a player with the given name.
makeShape(double, double, double, double)
- Method in class ballwar.model.paint.shape.
EllipseShapeFactory
Instantiates an ellipse
makeShape(double, double, double, double)
- Method in interface ballwar.model.paint.shape.
IShapeFactory
Returns a Shape object centered at (x, y) and with the specified x and y dimensions.
makeShape(double, double, double, double)
- Method in class ballwar.model.paint.shape.
PolygonFactory
Instantiates a Shape object that is the prototype Polygon translated by the given (x, y) point and scaled by given (xScale, yScale) factor times the internal scaleFactor.
makeShape(double, double, double, double)
- Method in class ballwar.model.paint.shape.
RectangleShapeFactory
Instantiates a Rectangle2D.Double object at the specified orign and size.
makeSwitcher(Object)
- Method in interface ballwar.view.
IBallCreateAdapter
Tells the model to add a ball using the currently defined SwitcherStrategy.
moveDown()
- Method in interface ballwar.model.
IMoveable
Tells the moveable object to move to the down by an amount or at a rate determined by the object.
moveLeft()
- Method in interface ballwar.model.
IMoveable
Tells the moveable object to move to the left by an amount or at a rate determined by the object.
moveRight()
- Method in interface ballwar.model.
IMoveable
Tells the moveable object to move to the right by an amount or at a rate determined by the object.
MoveStrategy
- Class in
ballwar.model.strategy
An ANoOpStrategy-based strategy that modifies the velocity of the context ball through user key presses.
MoveStrategy()
- Constructor for class ballwar.model.strategy.
MoveStrategy
moveUp()
- Method in interface ballwar.model.
IMoveable
Tells the moveable object to move to the up by an amount or at a rate determined by the object.
MultiPaintStrategy
- Class in
ballwar.model.paint
A composite design pattern exension of APaintStrategy that paints a set of paint strategies.
MultiPaintStrategy(IPaintStrategy...)
- Constructor for class ballwar.model.paint.
MultiPaintStrategy
Constructor that takes the paint strategies that will part of the composite.
MultiPaintStrategy(AffineTransform, IPaintStrategy...)
- Constructor for class ballwar.model.paint.
MultiPaintStrategy
Constructor that takes the paint strategies that will part of the composite.
MultiStrategy
- Class in
ballwar.model.strategy
An ANoOpStrategy-based strategy that is the composition of two IUpdateStrategies.
MultiStrategy(IUpdateStrategy, IUpdateStrategy)
- Constructor for class ballwar.model.strategy.
MultiStrategy
Constructor for the class.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
U
W
_