Package | Description |
---|---|
server.ai.characters.personalities | |
shared.data | |
shared.model |
Modifier and Type | Method and Description |
---|---|
protected Player |
Personality.GetAIPlayer(GameModel model) |
Modifier and Type | Method and Description |
---|---|
static Player |
DataTranslator.convertPlayerInfo(PlayerInfo player)
Converts a player
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Player> |
DataTranslator.convertPlayerInfo(java.util.List<PlayerInfo> players) |
Modifier and Type | Method and Description |
---|---|
static PlayerInfo |
DataTranslator.convertPlayerInfo(Player player)
Converts a player to player info
|
Modifier and Type | Method and Description |
---|---|
static int |
DataTranslator.totalPlayerResouces(java.util.List<Player> players)
Adds up all the player resources
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Player> |
GameModel.players |
protected java.util.List<Player> |
GameManager.players |
Modifier and Type | Method and Description |
---|---|
Player |
Translate.fromNetPlayer(NetPlayer netPlayer)
Translates NetPlayer into Player
|
protected Player |
GameManager.GetCurrentPlayer()
Gets the current player
|
protected Player |
GameManager.GetPlayer(int playerIndex)
Gets the specified player
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Player> |
Translate.fromNetPlayers(java.util.List<NetPlayer> netPlayers)
Translates list of NetPlayer into list of Player
|
Modifier and Type | Method and Description |
---|---|
void |
GameManager.SetPlayers(java.util.List<Player> players)
Sets the players
|