public class GameStartInfoResponse
extends java.lang.Object
Constructor and Description |
---|
GameStartInfoResponse()
Empty constructor required by KryoNet.
|
GameStartInfoResponse(java.lang.String boardName,
java.util.List<Player> playerList,
java.lang.String playerName)
Instantiates a new GameStartInfoResponse object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBoardName()
Gets the board name
|
java.util.List<Player> |
getPlayerList()
Gets the list of players
|
java.lang.String |
getPlayerName()
Gets the player name of the current player
|
public GameStartInfoResponse()
public GameStartInfoResponse(java.lang.String boardName, java.util.List<Player> playerList, java.lang.String playerName)
boardName
- The name of the board to be used, with extensionplayerList
- List of players for the gameplayerName
- The player name of the receiverpublic java.lang.String getPlayerName()
public java.util.List<Player> getPlayerList()
public java.lang.String getBoardName()