Package | Description |
---|---|
de.smarten.tsuro.engine.controller | |
de.smarten.tsuro.engine.model |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionManager.addGame(de.smarten.tsuro.shared.gamemodel.GameModel game,
GameControl control)
Adds a gameModel to the gameModelToClientListMap and initializes it's clientList
with it's Player Objects.
|
Modifier and Type | Method and Description |
---|---|
GameControl |
GameControlList.getGameControlById(int gameId)
Returns the GameControl managing the game with the gameId passed or null,
if there is no game with the given gameId.
|
GameControl |
GameControlList.getNewGameControl(String roomName,
de.smarten.tsuro.shared.gamemodel.Configuration config)
Adds a new
GameControl object to the list and returns it. |
Modifier and Type | Method and Description |
---|---|
Iterator<GameControl> |
GameControlList.getGameControlsIterator()
Returns an iterator over all
GameControl s contained in this GameControlList. |
List<GameControl> |
Level.getGames()
Getter for the list of
GameControl s of this level. |
Modifier and Type | Method and Description |
---|---|
void |
Level.addGameControl(GameControl gc)
Adds a
GameControl to the Level . |
boolean |
Pool.moveClientToGame(de.smarten.tsuro.shared.gamemodel.Client client,
GameControl gameControl)
Deletes a client from the pool and adds it to the game managed by the GameControl passed
|
Copyright © 2017 smarTen. All rights reserved.