Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
C
D
E
G
H
I
L
M
P
R
S
U
V
G
GameController
- Class in
lab1
The controller class of the framework.
GameController(GameView)
- Constructor for class lab1.
GameController
Creats a new GameContoller associated with supplied view.
GameFactory
- Class in
lab1
Factory class for available games.
GameFactory()
- Constructor for class lab1.
GameFactory
GameModel
- Class in
lab1
Common superclass for all game model classes.
GameOverException
- Exception in
lab1
Thrown by GameModel.doCommand at game termination.
GameOverException(int)
- Constructor for exception lab1.
GameOverException
Constructs a new exception with the final score.
GameTile
- Class in
lab1
A game tile manages painting of a special area of the screen.
GameTile()
- Constructor for class lab1.
GameTile
gameUpdate(int)
- Method in class lab1.
GameModel
This method is called repeatedly so that the game can update it's state.
gameUpdate(int)
- Method in class lab1.
GoldModel
This method is called repeatedly so that the game can update its state.
GameView
- Class in
lab1
A view Component suitable for inclusion in an AWT Frame.
GameView()
- Constructor for class lab1.
GameView
Creates a view where each GameObject has side length 40 pixels..
GameView(int)
- Constructor for class lab1.
GameView
Creates a view where each GameObject has a given size.
getGameboardSize()
- Method in class lab1.
GameModel
Returns the size of the gameboard.
getGameboardState(Position)
- Method in class lab1.
GameModel
Returns the GameTile in logical position (x,y) of the gameboard.
getGameboardState(int, int)
- Method in class lab1.
GameModel
Returns the GameTile in logical position (x,y) of the gameboard.
getGameController()
- Method in class lab1.
GUIView
Get a reference to the game controller.
getGameNames()
- Method in class lab1.
GameFactory
Returns an array with names of games this factory can create.
getGameNames()
- Method in interface lab1.
IGameFactory
Returns an array with names of games this factory can create.
getGameSize()
- Static method in enum lab1.
Constants
getScore()
- Method in exception lab1.
GameOverException
Get the score of the game
getX()
- Method in class lab1.
Position
getXDelta()
- Method in enum lab1.
GoldModel.Directions
getY()
- Method in class lab1.
Position
getYDelta()
- Method in enum lab1.
GoldModel.Directions
GoldModel
- Class in
lab1
Sample game for illustration.
GoldModel()
- Constructor for class lab1.
GoldModel
Create a new model for the gold game.
GoldModel.Directions
- Enum in
lab1
GUIView
- Class in
lab1
This panel is meant to be the base of a window or applet.
GUIView(IGameFactory)
- Constructor for class lab1.
GUIView
Create a new GUIView.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
C
D
E
G
H
I
L
M
P
R
S
U
V