Package | Description |
---|---|
client.join | |
client.model | |
client.networking | |
server.commands.games | |
server.model | |
shared.data |
Modifier and Type | Field and Description |
---|---|
private GameInfo[] |
JoinGameView.games |
(package private) GameInfo[] |
JoinGameController.games |
private GameInfo |
JoinGameController.lastGameSelected |
Modifier and Type | Method and Description |
---|---|
void |
JoinGameView.setGames(GameInfo[] games,
PlayerInfo localPlayer) |
void |
IJoinGameView.setGames(GameInfo[] games,
PlayerInfo localPlayer)
Sets the list of available games to be displayed
|
void |
JoinGameController.startJoinGame(GameInfo game) |
void |
IJoinGameController.startJoinGame(GameInfo game)
Called by the join game view when the user clicks a "Join" or "Re-join"
button.
|
Modifier and Type | Method and Description |
---|---|
GameInfo |
ClientGameManager.createGame(boolean randomTiles,
boolean randomNumbers,
boolean randomPorts,
java.lang.String name)
Joins a game
|
Modifier and Type | Method and Description |
---|---|
boolean |
ClientGameManager.joinGame(GameInfo game,
CatanColor color)
Joins a game
|
void |
ClientGameManager.LoadGame(GameInfo model)
Loads the game from the model recieved from the server
|
Modifier and Type | Method and Description |
---|---|
GameInfo |
ServerProxy.createGame(boolean randomTiles,
boolean randomNumbers,
boolean randomPorts,
java.lang.String name)
Creates a game on the server
|
GameInfo |
GSONServerProxy.createGame(boolean randomTiles,
boolean randomNumbers,
boolean randomPorts,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.List<GameInfo> |
ServerProxy.listGames()
Fetches a list of ongoing games
|
java.util.List<GameInfo> |
GSONServerProxy.listGames() |
Modifier and Type | Field and Description |
---|---|
private GameInfo |
GamesCreateCommand.info |
Modifier and Type | Field and Description |
---|---|
private java.util.List<GameInfo> |
GamesListCommand.games
Creates a command to get a list of games.
|
Modifier and Type | Method and Description |
---|---|
GameInfo |
GameHandler.AddGame(ServerGameManager sgm) |
GameInfo |
GameTable.CreateGame(ServerGameManager sgm)
Creates a new game on the server
|
Modifier and Type | Method and Description |
---|---|
java.util.List<GameInfo> |
GameTable.GetAllGames()
Gets the games that are on the server.
|
Modifier and Type | Method and Description |
---|---|
static GameInfo |
DataTranslator.convertGame(NetGame game)
Converts a netgame into a game info
|