public interface IJoinGameController extends IController
Modifier and Type | Method and Description |
---|---|
void |
cancelCreateNewGame()
Called by the new game view when the user clicks the "Cancel" button
|
void |
cancelJoinGame()
Called by the select color view when the user clicks the "Cancel" button
|
void |
createNewGame()
Called by the new game view when the user clicks the "Create Game" button
|
void |
joinGame(CatanColor color)
Called by the select color view when the user clicks the "Join Game"
button
|
void |
start()
Displays the join game view
|
void |
startCreateNewGame()
Called by the join game view when the user clicks "Create new game"
button.
|
void |
startJoinGame(GameInfo game)
Called by the join game view when the user clicks a "Join" or "Re-join"
button.
|
getView
void start()
void startCreateNewGame()
void cancelCreateNewGame()
void createNewGame()
void startJoinGame(GameInfo game)
game
- The game that the user is joiningvoid cancelJoinGame()
void joinGame(CatanColor color)
color
- The color selected by the user