Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
H
I
L
M
N
P
R
S
T
V
W
G
gallows
- Variable in class dbrown.
GallowsView
The path definition for the gallows.
GALLOWS_COLOR
- Static variable in class dbrown.
GallowsView
Various colour constants defined for the view.
GallowsView
- Class in
dbrown
A GUI interface that shows how many guesses a user has made in the form of a hanged man.
GallowsView(Hangman)
- Constructor for class dbrown.
GallowsView
GallowsView.GameListener
- Class in
dbrown
Is called by the Hangman game to display the current state of the game when the game is started and whenever a guess is made.
GallowsView.GameListener()
- Constructor for class dbrown.
GallowsView.GameListener
GameControlView
- Class in
dbrown
A GUI interface to part of the Hangman game.
GameControlView(Hangman)
- Constructor for class dbrown.
GameControlView
GameControlView.ForfeitListener
- Class in
dbrown
Ends the game when the
forfeit
button is pressed.
GameControlView.ForfeitListener()
- Constructor for class dbrown.
GameControlView.ForfeitListener
GameControlView.LoseListener
- Class in
dbrown
Displays a message when the game is lost.
GameControlView.LoseListener()
- Constructor for class dbrown.
GameControlView.LoseListener
GameControlView.NewGameListener
- Class in
dbrown
Starts a new game when the
newGame
button is pressed.
GameControlView.NewGameListener()
- Constructor for class dbrown.
GameControlView.NewGameListener
GameControlView.WinListener
- Class in
dbrown
Displays a message when the game is won.
GameControlView.WinListener()
- Constructor for class dbrown.
GameControlView.WinListener
gameState
- Variable in class dbrown.
Hangman
Contains the current state of the game.
gcv
- Variable in class dbrown.
HangmanGUI
The sub-view containing the game control buttons.
getGuessedPhrase()
- Method in class dbrown.
Hangman
getLetter()
- Method in class dbrown.
LetterButton
getWrongGuesses()
- Method in class dbrown.
Hangman
grass
- Variable in class dbrown.
GallowsView
The rectangle definition for the grass.
GRASS_COLOR
- Static variable in class dbrown.
GallowsView
GUESS
- Static variable in class dbrown.
Hangman
guess(char)
- Method in class dbrown.
Hangman
Accepts a letter guessed by the player and checks to see whether it has already been guessed and whether is is part of the phrase to be guessed.
guessedLetters
- Variable in class dbrown.
Hangman
Letters of the alphabet may be guessed or not yet guessed and their states are contained in this array.
guessedPhrase
- Variable in class dbrown.
Hangman
The phrase guessed so far is stored in a mutable structure.
gv
- Variable in class dbrown.
HangmanGUI
The sub-view containing the graphical representation of the hanged man.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
H
I
L
M
N
P
R
S
T
V
W