Modifier and Type | Method and Description |
---|---|
boolean |
addPlayer(Player player)
adds a
Player object to the list of players that participate in this game. |
Configuration |
getConfig() |
int |
getGameId() |
GameState |
getGameState() |
String |
getName() |
Iterator<Player> |
getPlayersIterator() |
boolean |
kickPlayer(Player player,
KickState kickState)
changes the given players kickState (only if the player object belongs to this game)
|
void |
setGameState(GameState gameState) |
String getName()
int getGameId()
GameState getGameState()
void setGameState(GameState gameState)
Configuration getConfig()
boolean addPlayer(Player player)
Player
object to the list of players that participate in this game.player
- who should be added to the list of players that participate in this gameCopyright © 2017 smarTen. All rights reserved.