|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of GameModel in lab1 |
|---|
| Subclasses of GameModel in lab1 | |
|---|---|
class |
GoldModel
Sample game for illustration. |
| Methods in lab1 that return GameModel | |
|---|---|
GameModel |
GameFactory.createGame(java.lang.String gameName)
Returns a new model object for the game corresponding to its Name. |
GameModel |
IGameFactory.createGame(java.lang.String gameName)
Returns a new model object for the game corresponding to its Name. |
| Methods in lab1 with parameters of type GameModel | |
|---|---|
void |
GameView.setModel(GameModel model)
Updates the view with a new model. |
void |
GameController.startGame(GameModel gameModel)
Starts a new game. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||