Skip navigation links
A C D E G H I L M N P R S T U _ 

A

abortGame(Game) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Gets the GameControl of the game given by the parameter and sends the order to abort it.
abortGame(Game) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Sends the order to abort the Game given as parameter.
abortGame() - Method in class de.smarten.tsuro.engine.view.GUI
Gets the selected Game object in the "Active Games" screen and sends the order to abort the selected game to the GUIControl.
activeGames - Static variable in class de.smarten.tsuro.engine.view.GUI
 
addClient(Client) - Method in class de.smarten.tsuro.engine.controller.GameControl
Adds a client to the game.
addClient(Client) - Method in class de.smarten.tsuro.engine.model.Pool
Adds a Client to the pool.
addClients(Collection<Client>) - Method in class de.smarten.tsuro.engine.model.Level
Add the specified Collection of Clients to the Level.
addClientsToGame(ObservableList<Client>) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to add the given clients to the current game.
addClientsToTournament(ObservableList<Client>) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Sends an observableList with Client-objects to the EngineControl in order to add them to the tournament.
addClientsToTournament(Collection<Client>) - Method in class de.smarten.tsuro.engine.controller.TournamentControl
Add a list of clients to the tournament.
addClientToGame(Client) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Calls the pool method to add the given Client to the current game.
addClientToGame(Client, int) - Method in class de.smarten.tsuro.engine.model.GameControlList
Adds a client to a game.
addConfigurations(Collection<Configuration>) - Method in class de.smarten.tsuro.engine.controller.TournamentControl
Add a list of configurations to the tournament.
addedSwapList - Static variable in class de.smarten.tsuro.engine.view.GUI
 
addGame(GameModel, GameControl) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
Adds a gameModel to the gameModelToClientListMap and initializes it's clientList with it's Player Objects.
addGame() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to create a new game with the saved name and configuration file.
addGameControl(GameControl) - Method in class de.smarten.tsuro.engine.model.Level
Adds a GameControl to the Level.
addNewGame(String, File) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Creates a new game with the name and configuration given through the parameters.
addNewTournament(String) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Creates a new tournament with the given name.
addPlayersToTournament(ObservableList<Client>) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Adds the clients contained in the list given as players to the current tournament.
addSpectator(Client) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Adds the Client-object given by the parameter as spectator to the current game.
addSpectators(ObservableList<Client>) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Extracts each Client-object out of the given list to send them one-after-one to the EngineControl in order to be added to a game as spectator.
addSpectatorToGame(Client, GameModel) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
addTournament() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the GameEngine to create a new tournament with the saved name.
addUser(String) - Method in interface de.smarten.tsuro.engine.controller.IEngineControl
 
addUser(String) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
addUser(String) - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
arrangeTournamentClicked() - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 

C

cancelCreation() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Cancels game and tournament creation.
cancelCreation() - Method in class de.smarten.tsuro.engine.view.GUI
Cancels the creation process of single games and tournaments.
cancelGame() - Method in class de.smarten.tsuro.engine.controller.GameControl
Cancels the game by setting the game state accordingly and sending a notification to all connected clients.
cancelGameCreation() - Method in class de.smarten.tsuro.engine.controller.EngineControl
Cancels the creation of the current game or tournament by removing all player and spectator clients from the game and moving them back to their respective pools.
checkbox - Static variable in class de.smarten.tsuro.engine.view.GUI
 
choodeStartingPlayer(String) - Method in interface de.smarten.tsuro.engine.controller.IEngineControl
 
chooseConfiguration() - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
chooseConfiguration() - Method in class de.smarten.tsuro.engine.view.GUI
opens a dialog where the user is able to load a configuration file for the game which is about to be created
chooseConfiguration() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
choosePlayerCount(Integer, Integer) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
choosePlayerCount() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
chooseRoomname(String) - Method in interface de.smarten.tsuro.engine.controller.IEngineControl
 
chooseRoomname(String) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
chooseRoomname() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
chooseSpectatorRole(Boolean) - Method in interface de.smarten.tsuro.engine.controller.IEngineControl
 
chooseSpectatorRole(Boolean) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
Used to set the role to spectator.
chooseSpectatorRole() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
chooseStartingPlayer(String) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
Used to set a a player in the game to be the player who makes the first move.
chooseStartingPlayer(String) - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
chooseTournamentConfiguration() - Method in class de.smarten.tsuro.engine.view.GUI
opens a file dialog where the user is able to load a configuration file for the selected level of the tournament
chosenConfigs - Static variable in class de.smarten.tsuro.engine.view.GUI
 
clickArrangeTournament() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
clickCancelGame() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
clickContinueGame() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
clickDone() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
clickPauseGame() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
clickStart() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
closeWindow() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
configurateTournament() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to set the saved coonfiguration files as configurations for the current tournament.
configurations - Static variable in class de.smarten.tsuro.engine.view.GUI
 
ConnectionManager - Class in de.smarten.tsuro.engine.controller
The ConnectionManager implements the Runnable interface and needs to be started as a thread.
ConnectionManager(EngineControl) - Constructor for class de.smarten.tsuro.engine.controller.ConnectionManager
Constructor of the ConnectionManager.
connectionResetCallback(ConnectionManager.ServerToClientConnection, ConnectionManager.ConnectionClient) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
Is called by a connection if it was reset (not if it was closed via the close method).
connectionResetCallback(Client) - Method in class de.smarten.tsuro.engine.controller.GameControl
 
connectSwapList - Static variable in class de.smarten.tsuro.engine.view.GUI
 
continueGame(Game) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Gets the GameControl of the game given by the parameter and sends the order to continue it.
continueGame() - Method in class de.smarten.tsuro.engine.controller.GameControl
Resumes the game by setting the game state accordingly and sending a notification to all connected clients.
continueGame(Game) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Sends the order to continue the Game given as parameter.
continueGame() - Method in class de.smarten.tsuro.engine.view.GUI
Gets the selected Game object in the "Active Games" screen and sends the order to continue the selected game to the GUIControl.

D

de.smarten.tsuro.engine.controller - package de.smarten.tsuro.engine.controller
 
de.smarten.tsuro.engine.model - package de.smarten.tsuro.engine.model
 
de.smarten.tsuro.engine.view - package de.smarten.tsuro.engine.view
 
doneClicked() - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
dragClientIntoGame(IPlayer, IGame) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
dragClientIntoGame() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 

E

endGame(GameModel) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
Puts the connections of all the clients from the game passed back into the connection pool and deletes the game from the gameModelToClientListMap.
engineActiveGames() - Method in class de.smarten.tsuro.engine.view.GUI
Loads the "Active Games" screen, where currently active games are displayed and actions can be performed on selected games.
EngineControl - Class in de.smarten.tsuro.engine.controller
The EngineControl handles incoming calls from the GUIControl and connects the front-end of the GameEngine with the back-end.
EngineControl(GUIControl) - Constructor for class de.smarten.tsuro.engine.controller.EngineControl
Initializes all needed Objects; starts the connecting process.
engineControl - Static variable in class de.smarten.tsuro.engine.view.GUI
 
equals(Object) - Method in class de.smarten.tsuro.engine.model.Level
 
exit() - Method in class de.smarten.tsuro.engine.view.GUI
Terminates the GameEngine.

G

GameControl - Class in de.smarten.tsuro.engine.controller
 
GameControl(ConnectionManager, int, String, Configuration) - Constructor for class de.smarten.tsuro.engine.controller.GameControl
 
GameControlList - Class in de.smarten.tsuro.engine.model
 
GameControlList(ConnectionManager) - Constructor for class de.smarten.tsuro.engine.model.GameControlList
Creates a new GameControlList, setting the ConnectionManager to be used.
GameFullException - Exception in de.smarten.tsuro.engine.controller
The class GameFullException is an Exception which indicates that a Game is full and no more Players can be added.
GameFullException() - Constructor for exception de.smarten.tsuro.engine.controller.GameFullException
Constructs a new GameFullException without a message.
GameFullException(String) - Constructor for exception de.smarten.tsuro.engine.controller.GameFullException
Constructs a new GameFullException with the specified message.
gameJoinRequestCallback(Client, int) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Sends a JoinResponse to the given client when it s added to the pool.
gameName - Static variable in class de.smarten.tsuro.engine.view.GUI
 
getChosenConfigurations() - Method in class de.smarten.tsuro.engine.controller.GUIControl
 
getClients() - Method in class de.smarten.tsuro.engine.model.Level
Gets the list of Clients participating in the Level.
getConfiguration() - Method in class de.smarten.tsuro.engine.model.Level
Gets the Configuration of this Level.
getConfigurationName() - Method in class de.smarten.tsuro.engine.controller.GUIControl
 
getConfigurations() - Method in class de.smarten.tsuro.engine.model.TournamentBracketModel
Getter for all configurations
getCurrentLevelControl() - Method in class de.smarten.tsuro.engine.model.TournamentBracketModel
Getter for current LevelControl
getGame() - Method in class de.smarten.tsuro.engine.controller.GameControl
Returns the Game object of the game managed by this GameControl
getGameControlById(int) - Method in class de.smarten.tsuro.engine.model.GameControlList
Returns the GameControl managing the game with the gameId passed or null, if there is no game with the given gameId.
getGameControlsIterator() - Method in class de.smarten.tsuro.engine.model.GameControlList
Returns an iterator over all GameControls contained in this GameControlList.
getGameModel() - Method in class de.smarten.tsuro.engine.controller.GameControl
Returns the game model.
getGames() - Method in class de.smarten.tsuro.engine.controller.EngineControl
 
getGames() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to get the List of currentlx active games.
getGames() - Method in interface de.smarten.tsuro.engine.controller.IEngineControl
 
getGames() - Method in class de.smarten.tsuro.engine.model.GameControlList
returns the list of games managed by the GameControls of this GameControlList
getGames() - Method in class de.smarten.tsuro.engine.model.Level
Getter for the list of GameControls of this level.
getGameState() - Method in class de.smarten.tsuro.engine.controller.GameControl
Returns the gameState of the game managed by this GameControl or NOT_RUNNING, if the Game object is not yet initialized.
getIndex() - Method in class de.smarten.tsuro.engine.model.Level
Returns the index of the Level.
getInstance() - Static method in class de.smarten.tsuro.engine.model.Pool
 
getLevel() - Method in class de.smarten.tsuro.engine.controller.LevelControl
Gets the Level controlled by this LevelControl.
getListView(int) - Method in class de.smarten.tsuro.engine.view.GUI
Gets the listview elements which show the connected clients and either the on to add players or spectators, depending on the "mode" parameter.
getName() - Method in class de.smarten.tsuro.engine.controller.GUIControl
 
getNetworkAddress() - Method in interface de.smarten.tsuro.engine.controller.IServerToClientConnection
 
getNewGameControl(String, Configuration) - Method in class de.smarten.tsuro.engine.model.GameControlList
Adds a new GameControl object to the list and returns it.
getNextLevelControl() - Method in class de.smarten.tsuro.engine.model.TournamentBracketModel
Getter for next LevelControl
getNumberOfGames() - Method in class de.smarten.tsuro.engine.model.Level
Returns the number of games in the Level.
getPlayers() - Method in class de.smarten.tsuro.engine.controller.EngineControl
Gets the Client.objects which take part as players in the currently created game.
getPlayers() - Method in class de.smarten.tsuro.engine.controller.GameControl
Creates a copy of the list of player Clients
getPlayers() - Method in class de.smarten.tsuro.engine.controller.GUIControl
 
getPlayersInConfig() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to get the number of players defined in the current Configuration.
getPlayersInThisConfig() - Method in class de.smarten.tsuro.engine.controller.EngineControl
 
getPlayersIterator() - Method in class de.smarten.tsuro.engine.model.Pool
Returns an Iterator over all waiting player Clients registered in the Pool.
getPoolPlayersIterator() - Method in class de.smarten.tsuro.engine.controller.EngineControl
 
getPoolPlayersIterator() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Requests the Iterator over clients who are connected and want to play.
getPoolSpectatorsIterator() - Method in class de.smarten.tsuro.engine.controller.EngineControl
 
getPoolSpectatorsIterator() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Requests the Iterator over clients who are connected and want to spectate.
getRoomNamePrefix() - Method in class de.smarten.tsuro.engine.model.Level
Returns the prefix used for the names of the Level's Games.
getSpectators() - Method in class de.smarten.tsuro.engine.controller.EngineControl
Gets the Client.objects which take part as spectators in the currently created game.
getSpectators() - Method in class de.smarten.tsuro.engine.controller.GameControl
Creates a copy of the list of spectator Clients
getSpectators() - Method in class de.smarten.tsuro.engine.controller.GUIControl
 
getSpectatorsIterator() - Method in class de.smarten.tsuro.engine.model.Pool
Returns an Iterator over all waiting spectator Clients registered in the Pool.
getTournamentBracketModel() - Method in class de.smarten.tsuro.engine.controller.TournamentControl
Getter for the TournamentBracketModel of this tournament.
getTournamentClients() - Method in class de.smarten.tsuro.engine.controller.TournamentControl
returns a list of all clients in the tournament
getTournamentPlayers() - Method in class de.smarten.tsuro.engine.controller.EngineControl
 
getTournamentPlayers() - Method in class de.smarten.tsuro.engine.controller.GUIControl
 
getWinningClients() - Method in class de.smarten.tsuro.engine.model.Level
Gets a list of Clients that have won their game.
GUI - Class in de.smarten.tsuro.engine.view
The front-end of the GameEngine.
GUI() - Constructor for class de.smarten.tsuro.engine.view.GUI
 
GUIControl - Class in de.smarten.tsuro.engine.controller
Handles incoming calls from the GUI.
GUIControl(GUI) - Constructor for class de.smarten.tsuro.engine.controller.GUIControl
Constructor sets GUI and creates new EngineControl.
guiCtrl - Static variable in class de.smarten.tsuro.engine.view.GUI
 
GUIInterface - Interface in de.smarten.tsuro.engine.view
 

H

hasConfiguration() - Method in class de.smarten.tsuro.engine.controller.LevelControl
Returns whether or not a Configuration is set for this level of the tournament.

I

IEngineControl - Interface in de.smarten.tsuro.engine.controller
 
IGUIControl - Interface in de.smarten.tsuro.engine.controller
 
IncompleteInputException - Exception in de.smarten.tsuro.engine.controller
The class IncompleteInputException is an Exception that indicates missing input for the operation to be completed.
IncompleteInputException() - Constructor for exception de.smarten.tsuro.engine.controller.IncompleteInputException
Constructs a new IncompleteInputException without a message.
IncompleteInputException(String) - Constructor for exception de.smarten.tsuro.engine.controller.IncompleteInputException
Constructs a new IncompleteInputException with the specified message.
initDragDrop(ListView<Client>, ListView<Client>) - Method in class de.smarten.tsuro.engine.view.GUI
Initializes drag and drop handling on the ListView parameters in order to add connected clients to a game or remove clients from a game
initListView(ListView<Client>, ListView<Client>, int) - Method in class de.smarten.tsuro.engine.view.GUI
Initializes the ListView objects with the connected clients in the pool.
isConfigurated(int) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Returns true if a single configuration file (in case of single game creation) or a list of configuration files is set (in case of tournament creation); false if not.
IServer - Interface in de.smarten.tsuro.engine.controller
The IServer interface defines all the methods necessary for the server to communicate with a client.
IServerToClientConnection - Interface in de.smarten.tsuro.engine.controller
Defines the methods of a ServerToClientConnection A ServerToClientConnection is used for each client to manage the communication with that client.
isMaximized - Static variable in class de.smarten.tsuro.engine.view.GUI
 
isSingleGame - Static variable in class de.smarten.tsuro.engine.view.GUI
 

L

label - Static variable in class de.smarten.tsuro.engine.view.GUI
 
Level - Class in de.smarten.tsuro.engine.model
Model-class to save all important data of a level in a tournament.
Level(String, int) - Constructor for class de.smarten.tsuro.engine.model.Level
Constructs a new Level object.
LevelControl - Class in de.smarten.tsuro.engine.controller
Control-class that manage a single level in a tournament
LevelControl(GameControlList, TournamentControl, String, int) - Constructor for class de.smarten.tsuro.engine.controller.LevelControl
Standard constructor

M

main(String[]) - Method in class de.smarten.tsuro.engine.controller.GUIControl
 
main(String[]) - Static method in class de.smarten.tsuro.engine.view.GUI
The main method starting the application launcher
moveClientToGame(Client, GameControl) - Method in class de.smarten.tsuro.engine.model.Pool
Deletes a client from the pool and adds it to the game managed by the GameControl passed

N

name - Static variable in class de.smarten.tsuro.engine.view.GUI
 
numberfield - Static variable in class de.smarten.tsuro.engine.view.GUI
 

P

pause() - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
Is used to send a PauseNotification to the Server in order to pause the current game.
pauseGame(Game) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Gets the GameControl of the game given by the parameter and sends the order to pause it.
pauseGame() - Method in class de.smarten.tsuro.engine.controller.GameControl
Pauses the game by setting the game state accordingly and sending a notification to all connected clients.
pauseGame(Game) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Sends the order to pause the Game given as parameter.
pauseGame() - Method in class de.smarten.tsuro.engine.view.GUI
Gets the selected Game object in the "Active Games" screen and sends the order to pause the selected game to the GUIControl.
Pool - Class in de.smarten.tsuro.engine.model
 

R

removeAllClients() - Method in class de.smarten.tsuro.engine.model.Level
Remove all Clients from the Level and send them back.
removeClient(Client) - Method in class de.smarten.tsuro.engine.controller.GameControl
 
removeClient(Client) - Method in class de.smarten.tsuro.engine.model.Pool
 
removeClientFromGame(Client) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Calls the pool method to remove the given client from the current game, moving it from back to the connected-clients pool.
removeClientFromGame(Client) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to remove the given client from the current game.
removeClientFromPool(Client) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Removes the Client-object given by the parameter from the pool of connected clients.
removeClientsFromTournament() - Method in class de.smarten.tsuro.engine.controller.TournamentControl
Remove all clients from the tournament.
removeConfiguration(MouseEvent) - Method in class de.smarten.tsuro.engine.view.GUI
Removes the configurationfile on which was clicked from the file-list in the GUIControl class.
removeConfigurations(Collection<Configuration>) - Method in class de.smarten.tsuro.engine.controller.TournamentControl
remove a list of configurations from the tournament.
removeFileFromList(String) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Removes the file with the given name from the saved list of configuration files.
removeGameControlByGame(Game) - Method in class de.smarten.tsuro.engine.model.Level
Removes a GameControl, identified by its corresponding Game object, from the Level
rotateLevelControl() - Method in class de.smarten.tsuro.engine.model.TournamentBracketModel
Sets the nextLevelControl as currentLevelControl and creates a new nextLevelControl
run() - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
listens on the specified TCP port until stopListening is called.

S

scene - Static variable in class de.smarten.tsuro.engine.view.GUI
 
sendError(String, String, int) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Sends call to the GUI to show an error message wth the given parameters.
sendFinishedNotification(GameModel) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
sendFinishedNotification(GameModel) - Method in interface de.smarten.tsuro.engine.controller.IServer
Sends a FinishedNotification to the clients, informing them about the end of the game
sendGameContinueNotification(GameModel) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
sendGameContinueNotification(GameModel) - Method in interface de.smarten.tsuro.engine.controller.IServer
Sends a ContinueNotification to the clients, acknowledging them that the game continues
sendGamePauseNotification(GameModel) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
sendGamePauseNotification(GameModel) - Method in interface de.smarten.tsuro.engine.controller.IServer
Sends a PauseNotification to the clients, acknowledging them that the game was paused by the host
sendGameStartNotification(GameModel) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
sendGameStartNotification(GameModel) - Method in interface de.smarten.tsuro.engine.controller.IServer
Used at the beginning of a game to inform all Clients about the game start.
sendGameStateNotification(GameModel) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
sendGameStateNotification(GameModel) - Method in interface de.smarten.tsuro.engine.controller.IServer
Sends a GameStateNotification to the clients.
sendKickNotification(GameModel, List<Player>) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
sendKickNotification(GameModel, List<Player>) - Method in interface de.smarten.tsuro.engine.controller.IServer
Sends a KickNotification to the clients, telling them that one or more players lost the game
sendProcessingRequestReply(Client, JoinResponse) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
Sends a JoinProcessingReply to the client and sets the clientId, if the state parameter is JOINED_QUEUE or SUCCESS and the client has no clientId yet.
sendTurnNotification(GameModel, boolean) - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
 
sendTurnNotification(GameModel, boolean) - Method in interface de.smarten.tsuro.engine.controller.IServer
Sends a TurnNotification to the clients, notifying them about the beginning of a new turn
setConfiguration(Configuration) - Method in class de.smarten.tsuro.engine.controller.LevelControl
Sets the Configuration of the entire level.
setConfiguration(Configuration) - Method in class de.smarten.tsuro.engine.model.Level
Sets the standard Configuration in the Level.
setFile(File) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Sets the given file for the single game creation.
setFile(File) - Method in interface de.smarten.tsuro.engine.controller.IEngineControl
 
setFile(File) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
setFirstConfiguration(File) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Builds a configuration-object on base of the given file and sets it as the configuration to be used in the first tournament level of the current tournament.
setFirstConfiguration(String) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Gets the given configuration file from the list of files and calls the EngineControl to set it as starting configuration for the current tournament.
setFirstFileContent() - Method in class de.smarten.tsuro.engine.view.GUI
Updates the content of the combobox, through which the first Configuration is selected, to be equal with the configurationfiles which were selected by the player.
setFirstLevelConfiguration(Configuration) - Method in class de.smarten.tsuro.engine.controller.TournamentControl
sets the configuration for the first level of the tournament.
setFirstLevelGameCount(int) - Method in class de.smarten.tsuro.engine.controller.TournamentControl
Sets the number of games for the first round at the beginning of the tournament.
setGameName(String) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Saves the given name for the single game and tournament creation.
setNumberOfGames(int) - Method in class de.smarten.tsuro.engine.model.Level
Sets the intended number of games in the Level.
setStartingPlayer(Client) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Sets the given client as starting player in the current game.
setStartingPlayer(Client) - Method in class de.smarten.tsuro.engine.controller.GameControl
Sets the starting player of the game.
setStartingPlayer(Client) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineContol to set the given client as the starting player of the current game.
setStartingPlayerContent() - Method in class de.smarten.tsuro.engine.view.GUI
Updates the content of the combobox, through which the starting player is selected, to be equal to the players which were added to the game.
setTileCallback(Client, Placement) - Method in class de.smarten.tsuro.engine.controller.GameControl
Moves the players token to it's new position depending on the tile he placed.
setTokenCallback(Client, Gate) - Method in class de.smarten.tsuro.engine.controller.GameControl
Sets the gate of the player's token.
setTournamentBracket(TournamentBracketModel) - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
setTournamentBracketHeight(Integer) - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
setTournamentConfigurations(ArrayList<File>) - Method in class de.smarten.tsuro.engine.controller.EngineControl
Converts the given configuration-files into configuration-objects and adds them to the current tournament.
setTournamentFile(ArrayList<File>) - Method in class de.smarten.tsuro.engine.controller.GUIControl
Saves the given list of configuration files to be used in the tournament creation.
setTournamentHeight() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
setTournamentName(String) - Method in class de.smarten.tsuro.engine.model.TournamentBracketModel
Sets the name of this tournament.
sgChoosePlayers() - Method in class de.smarten.tsuro.engine.view.GUI
Switches to the "choose players" scene a creates a new game, if the name and configuration selected in the previous scene were valid.
sgChooseSpectators() - Method in class de.smarten.tsuro.engine.view.GUI
Switches to the "choose spectators" scene, were connected clients can be added to the game by drag and drop.
sgPlayers - Static variable in class de.smarten.tsuro.engine.view.GUI
 
sgSetupScreen() - Method in class de.smarten.tsuro.engine.view.GUI
Switches to the setup-scene for a single game, where the user is able to enter a name and choose a configuration for the game.
showError(String, String, int) - Method in class de.smarten.tsuro.engine.view.GUI
Opens a popup-window with the message,header and look defined by the parameters.
showStartupScreen() - Method in class de.smarten.tsuro.engine.view.GUI
switches the window back to the main menu window of the game engine
showStartupScreen() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
showTournamentBracket() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
showTournamentBracketHeight() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
showTournamentLevelPlayers(Integer, List<Client>) - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
shutdown() - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
closes the TCP port and makes the run method terminate
shutdown() - Method in class de.smarten.tsuro.engine.controller.EngineControl
Sends the order to shutdown to the ConnectionManager.
shutdown() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Forwards the order to shutdown the GameEngine to the EngineControl.
start() - Method in class de.smarten.tsuro.engine.controller.ConnectionManager
Starts the ConnectionManager in a new thread and thus makes it listen on the specified port.
start(Stage) - Method in class de.smarten.tsuro.engine.view.GUI
Starts the engine application and open a window with the start-scene of the engine.
startClicked() - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
startCurrentLevel() - Method in class de.smarten.tsuro.engine.controller.TournamentControl
Starts the next level of the tournament.
startGame() - Method in class de.smarten.tsuro.engine.controller.EngineControl
Starts the current game
startGame() - Method in class de.smarten.tsuro.engine.controller.GameControl
Starts and runs the game.
startGame() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to start the current single game.
startGame(IGame) - Method in interface de.smarten.tsuro.engine.controller.IEngineControl
 
startGame() - Method in class de.smarten.tsuro.engine.view.GUI
Starts the created game.
startingConfig - Static variable in class de.smarten.tsuro.engine.view.GUI
 
startingPlayer - Static variable in class de.smarten.tsuro.engine.view.GUI
 
startLevel() - Method in class de.smarten.tsuro.engine.controller.LevelControl
Starts all games of the LevelControl's Level.
startTournament() - Method in class de.smarten.tsuro.engine.controller.EngineControl
Starts the current tournament.
startTournament() - Method in class de.smarten.tsuro.engine.controller.GUIControl
Calls the EngineControl to start the current tournament.
startTournament() - Method in class de.smarten.tsuro.engine.controller.TournamentControl
Starts the Tournament
startTournament() - Method in class de.smarten.tsuro.engine.view.GUI
Starts the created tournament.

T

textfield - Static variable in class de.smarten.tsuro.engine.view.GUI
 
TournamentBracketModel - Class in de.smarten.tsuro.engine.model
Model-class to save all important data of a tournament.
TournamentBracketModel(GameControlList, TournamentControl) - Constructor for class de.smarten.tsuro.engine.model.TournamentBracketModel
Standard constructor
tournamentConfigView() - Method in class de.smarten.tsuro.engine.view.GUI
Switches to the tournament-configuration scene, if the name entered in the previous scene wasn't empty.
TournamentControl - Class in de.smarten.tsuro.engine.controller
Control-class to organize a tournament.
TournamentControl(EngineControl, GameControlList, String) - Constructor for class de.smarten.tsuro.engine.controller.TournamentControl
Standard constructor
TournamentControl(GameControlList, String) - Constructor for class de.smarten.tsuro.engine.controller.TournamentControl
Deprecated.
Standard constructor
tournamentEnds(Client) - Method in class de.smarten.tsuro.engine.controller.TournamentControl
sends an update to the EngineControl that the tournament is ending with a winner.
tournamentPlayerView() - Method in class de.smarten.tsuro.engine.view.GUI
Switches to the "choose players" scene, if the configurations and the starting configuration selected in the previous screen are valid.
tournamentSetupScreen() - Method in class de.smarten.tsuro.engine.view.GUI
Switches to the name-selection scene, where the user can enter a name for the tournament he is about to create.

U

update(Observable, Object) - Method in class de.smarten.tsuro.engine.controller.GameControl
 
update(Observable, Object) - Method in class de.smarten.tsuro.engine.controller.LevelControl
Notify the LevelControl about an update in one Game in this level of the tournament.
updateFromTournament(TournamentControl, Object) - Method in class de.smarten.tsuro.engine.controller.EngineControl
called from a TournamentControl, when something important happens in the tournament
updateTournamentBracket() - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
 
updateView() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 
updateWindow(String) - Method in class de.smarten.tsuro.engine.view.GUI
Updates the engine-window with the new scene provided by a .fxml file, which is selected through the String given on method call.
updateWindow() - Method in interface de.smarten.tsuro.engine.view.GUIInterface
 

_

_continue() - Method in interface de.smarten.tsuro.engine.controller.IGUIControl
Used to resume a currently paused game, which may only be able to the player who originally paused the game.
A C D E G H I L M N P R S T U _ 
Skip navigation links

Copyright © 2017 smarTen. All rights reserved.