Package | Description |
---|---|
client.data | |
client.domestic | |
client.join | |
shared.data | |
shared.model |
Modifier and Type | Class and Description |
---|---|
class |
RobPlayerInfo
Used to pass player information into the rob view
PROPERTIES: Id: Unique player ID PlayerIndex: Player's order in the game [0-3] Name: Player's name (non-empty string) Color: Player's color (cannot be null) NumCards: Number of development cards the player has (>= 0) |
Constructor and Description |
---|
RobPlayerInfo(PlayerInfo info) |
Modifier and Type | Field and Description |
---|---|
private PlayerInfo[] |
DomesticTradeOverlay.players |
Modifier and Type | Method and Description |
---|---|
private PlayerInfo |
DomesticTradeOverlay.getPlayerByName(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
IDomesticTradeOverlay.setPlayers(PlayerInfo[] value)
Sets the opponents the local player may trade with.
|
void |
DomesticTradeOverlay.setPlayers(PlayerInfo[] value) |
Modifier and Type | Field and Description |
---|---|
private PlayerInfo |
JoinGameView.localPlayer |
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 |
PlayerWaitingView.setPlayers(PlayerInfo[] value) |
void |
IPlayerWaitingView.setPlayers(PlayerInfo[] value)
Sets the list of players who have already joined the game
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<PlayerInfo> |
GameInfo.players |
Modifier and Type | Method and Description |
---|---|
static PlayerInfo |
DataTranslator.convertPlayerInfo(NetPlayer player)
Converts the net player into the player info
|
static PlayerInfo |
DataTranslator.convertPlayerInfo(Player player)
Converts a player to player info
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PlayerInfo> |
GameInfo.getPlayers() |
Modifier and Type | Method and Description |
---|---|
void |
GameInfo.addPlayer(PlayerInfo newPlayer) |
static Player |
DataTranslator.convertPlayerInfo(PlayerInfo player)
Converts a player
|
void |
GameInfo.setPlayers(PlayerInfo[] newPlayers) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Player> |
DataTranslator.convertPlayerInfo(java.util.List<PlayerInfo> players) |
void |
GameInfo.setPlayers(java.util.List<PlayerInfo> newPlayers) |
Modifier and Type | Method and Description |
---|---|
PlayerInfo[] |
GameManager.allCurrentPlayers() |