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
_
_
_addBtn
- Variable in class ballwar.view.
BallGUI
Button to add the strategy entered in inputTF to both drop lists.
_addPaintBtn
- Variable in class ballwar.view.
BallGUI
Button to add the paint strategy entered in _paintTF to the drop list.
_ampl
- Variable in class util.
SineMaker
The amplitude of the sinusoidal output
_bCreateA
- Variable in class ballwar.view.
BallGUI
IBallCreateAdapater used to create new balls.
_bCtrlA
- Variable in class ballwar.view.
BallGUI
The IBallCtrlAdapter used to control the balls.
_canvasPnl
- Variable in class ballwar.view.
BallGUI
The panel upon which the balls are painted.
_cbPnl
- Variable in class ballwar.view.
BallGUI
The sub-panel that holds the drop-lists of strategies and their control buttons.
_clearAllBtn
- Variable in class ballwar.view.
BallGUI
The button to clear all the balls.
_collisionCmd
- Variable in class ballwar.model.
Ball
The command sent to the dispatcher to notify the other balls that they may have collided with this ball.
_color
- Variable in class ballwar.model.
Ball
The color of the ball.
_combineBtn
- Variable in class ballwar.view.
BallGUI
Button used to combine a selection from _list1CBox and a selection from _list2BCBox into a combined strategy.
_controlPnl
- Variable in class ballwar.view.
BallGUI
The panel upon which all the game controls are located.
_count
- Variable in class ballwar.model.strategy.
LightUpStrategy
The count of how many cycles have passed since initially being lit up.
_delta
- Variable in class ballwar.model.strategy.
MoveStrategy
The amount the ball's velocity is changed in the requested direction each time a key press is registered.
_delta
- Variable in class ballwar.model.strategy.
WanderStrategy
The maximum absolute value of any of the velocity increment's coordinates.
_delta
- Variable in class util.
SineMaker
The amount that _theta is incremented each time, in radians.
_DeltaLowerLimit
- Static variable in class ballwar.model.strategy.
BreathingStrategy
The minumum possible value for the angle increment of the sinusoid between updateState calls, in radians.
_DeltaUpperLimit
- Static variable in class ballwar.model.strategy.
BreathingStrategy
The maximum possible value for the angle increment of the sinusoid between updateState calls, in radians.
_dispatcher
- Variable in class ballwar.model.
BallModel
The dispatcher used to communicate with all the balls.
_displayCmd
- Variable in class ballwar.model.
BallModel
The current command used to generate the display string.
_displayCmdOrig
- Variable in class ballwar.model.
BallModel
The initial, default command used to generate the initial display string.
_env
- Variable in class ballwar.model.
Ball
The ball's environment
_gCtrlA
- Variable in class ballwar.view.
BallGUI
The IGameCtrlAdapter used to control the game.
_graphics
- Variable in class ballwar.model.
BallModel
Variable used to hold the current Graphics object upon which the balls will next paint.
_inputPnl
- Variable in class ballwar.view.
BallGUI
The sub-panel that the input textfield is located.
_inputTF
- Variable in class ballwar.view.
BallGUI
The textfield where the user can type in the classname of a new strategy.
_keysPnl
- Variable in class ballwar.controller.
BallControl
An OptionPanel used to display the movement keys.
_list1CBox
- Variable in class ballwar.view.
BallGUI
A drop-list with all the strategies and combinations of strategies.
_list2CBox
- Variable in class ballwar.view.
BallGUI
Same content as _list1CBox because two lists are needed to create combinations of strategies.
_LitUpColor
- Static variable in class ballwar.model.strategy.
LightUpStrategy
The color when "lit up"
_LitUpDuration
- Static variable in class ballwar.model.strategy.
LightUpStrategy
The number of update cycles to remain "lit up".
_location
- Variable in class ballwar.model.
Ball
The present location of the center of the ball.
_makePlayerBtn
- Variable in class ballwar.view.
BallGUI
Button to make a new player with the name typed in by the user.
_makeSelectedBtn
- Variable in class ballwar.view.
BallGUI
Button to make a ball with the selected strategy in _list1CBox.
_makeSwitcherBtn
- Variable in class ballwar.view.
BallGUI
The button that makes a new ball with a SwitcherStrategy.
_mass
- Variable in class ballwar.model.
Ball
The mass of the ball
_MaxRadius
- Static variable in class ballwar.model.strategy.
AUpdateStrategy
The maximum radius that a ball can have.
_MaxRadiusLowerLimit
- Static variable in class ballwar.model.strategy.
BreathingStrategy
The minimum possible value for the maximum radius of a ball.
_MaxRadiusUpperLimit
- Static variable in class ballwar.model.strategy.
BreathingStrategy
The maximum possible value for the maximum radius of a ball.
_MaxSpeed
- Static variable in class ballwar.model.strategy.
AUpdateStrategy
The maximum speed a ball may have.
_MaxVel
- Variable in class ballwar.model.strategy.
AUpdateStrategy
The minimum and maximum values of a ball's velocityl.
_mid
- Variable in class util.
SineMaker
The midpoint of the min and max values.
_MinRadius
- Static variable in class ballwar.model.strategy.
AUpdateStrategy
The minimum radius that a ball can have.
_MinRadius
- Static variable in class ballwar.model.strategy.
ExplodeStrategy
The minimum radius that will explode.
_MinRadiusLowerLimit
- Static variable in class ballwar.model.strategy.
BreathingStrategy
The minimum possible value for the minumum radius of a ball.
_MinRadiusUpperLimit
- Static variable in class ballwar.model.strategy.
BreathingStrategy
The maximum possible value for a ball's minimum radius.
_model
- Variable in class ballwar.controller.
BallControl
The system's model.
_NBalls
- Static variable in class ballwar.model.strategy.
ExplodeStrategy
The number of balls to explode into.
_oldColor
- Variable in class ballwar.model.strategy.
LightUpStrategy
The pre-lit-up color.
_paintCBox
- Variable in class ballwar.view.
BallGUI
Drop list with available paint strategies.
_paintSelPnl
- Variable in class ballwar.view.
BallGUI
The sub-panel that the paint selection controls are located.
_paintStrategy
- Variable in class ballwar.model.
Ball
The paint strategy used by the ball
_paintTF
- Variable in class ballwar.view.
BallGUI
The textfield where the user can type in the classname of a new painting strategy.
_player
- Variable in class ballwar.model.strategy.
ScoreStrategy
The IPlayer associated with this scoring strategy.
_playersCBox
- Variable in class ballwar.view.
BallGUI
Drop list that shows the names of all the players made so far.
_Prob
- Static variable in class ballwar.model.strategy.
ExplodeStrategy
The probability of explosion.
_radius
- Variable in class ballwar.model.
Ball
The radius of the ball.
_RadiusDivider
- Static variable in class ballwar.model.strategy.
ExplodeStrategy
The divisor of the radius when the ball explodes.
_Rand
- Static variable in class ballwar.model.strategy.
AUpdateStrategy
Randomizer to generate desired random value.
_rand
- Variable in class ballwar.model.strategy.
WanderStrategy
The Randomizer used to generate the random velocity increment vector's coordinates.
_s1
- Variable in class ballwar.model.strategy.
MultiStrategy
First IUpdateStrategy composee
_s2
- Variable in class ballwar.model.strategy.
MultiStrategy
Second IUpdateStrategy composee
_statusLbl
- Variable in class ballwar.view.
BallGUI
Label at the bottom of the screen used to display the status of the game and the player's scores.
_strategy
- Variable in class ballwar.model.
Ball
The update strategy used by the ball
_strategy
- Variable in class ballwar.model.strategy.
SwitcherStrategy
_switchBtn
- Variable in class ballwar.view.
BallGUI
The button that switches the decoree in the SwitcherStrategy to the currently selected strategey.
_switcher
- Variable in class ballwar.model.
BallModel
The SwitcherStrategy object to use in switcher balls.
_switcherPnl
- Variable in class ballwar.view.
BallGUI
The sub-panel that holds the SwitcherStrategy controls.
_theta
- Variable in class util.
SineMaker
The current angle used to generate the current sinusoidal value.
_timer
- Variable in class ballwar.model.
BallModel
A timer object that is the main clock that drives the simulation.
_timeSlice
- Variable in class ballwar.model.
BallModel
The time in milliseconds between updates to the balls.
_updateStateCmd
- Variable in class ballwar.model.
BallModel
The command used when the balls are told to update their states and paint.
_vCtrlA
- Variable in class ballwar.model.
BallModel
The adapter to the view.
_velocity
- Variable in class ballwar.model.
Ball
The current velocity of the ball.
_view
- Variable in class ballwar.controller.
BallControl
The system's view (GUI).
_windowListener
- Variable in class ballwar.controller.
BallControl
The window listener used by the view when the window is closed.
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
_