|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGameCtrlAdapter
Interface to the model that the view uses to control the game itself.
| Method Summary | |
|---|---|
void |
end()
Asks that the model end the game. |
Object |
makePlayer(String name)
Asks the model to create a player with the given name. |
void |
pause()
Asks that the model pause the game. |
void |
start()
Askas that the model start the game. |
| Method Detail |
|---|
Object makePlayer(String name)
name - The name of the new player.
void start()
void end()
void pause()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||