public interface IGUIControl
Modifier and Type | Method and Description |
---|---|
void |
_continue()
Used to resume a currently paused game, which may only be able to the player who originally paused the game.
|
void |
addUser(String name) |
void |
arrangeTournamentClicked() |
void |
chooseConfiguration() |
void |
choosePlayerCount(Integer min,
Integer max) |
de.smarten.tsuro.shared.gamemodel.AGameModel |
chooseRoomname(String name) |
void |
chooseSpectatorRole(Boolean choice)
Used to set the role to spectator.
|
void |
chooseStartingPlayer(String name)
Used to set a a player in the game to be the player who makes the first move.
|
void |
doneClicked() |
void |
dragClientIntoGame(de.smarten.tsuro.shared.gamemodel.IPlayer client,
de.smarten.tsuro.shared.gamemodel.IGame game) |
void |
pause()
Is used to send a PauseNotification to the Server in order to pause the current game.
|
void |
setFile(File file) |
void |
setTournamentBracketHeight(Integer height) |
void |
startClicked() |
void |
updateTournamentBracket() |
void addUser(String name)
void arrangeTournamentClicked()
void chooseConfiguration()
de.smarten.tsuro.shared.gamemodel.AGameModel chooseRoomname(String name)
name
- a string containing the room name the client has chosenvoid chooseSpectatorRole(Boolean choice)
choice
- the choice of the spectator rolevoid chooseStartingPlayer(String name)
name
- the name of the starting playervoid _continue()
void doneClicked()
void dragClientIntoGame(de.smarten.tsuro.shared.gamemodel.IPlayer client, de.smarten.tsuro.shared.gamemodel.IGame game)
void pause()
void setFile(File file)
void setTournamentBracketHeight(Integer height)
void startClicked()
void updateTournamentBracket()
Copyright © 2017 smarTen. All rights reserved.