Class LobbyCreation
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.ConnectionMessage
it.polimi.ingsw.eriantys.messages.client.LobbyCreation
- All Implemented Interfaces:
- Serializable
A 
ConnectionMessage sent by a client in order to request the server to create a new lobby
 with the specified number of players and game mode.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintA getter for the number of players set for the lobby which the user is requesting to create.booleanA getter for the type of mode set for the lobby which the user is requesting to create.
- 
Constructor Details- 
LobbyCreation
 
- 
- 
Method Details- 
getNumPlayerspublic int getNumPlayers()A getter for the number of players set for the lobby which the user is requesting to create.- Returns:
- the number of players which the lobby can and must hold in order to start the game
 
- 
isExpertModepublic boolean isExpertMode()A getter for the type of mode set for the lobby which the user is requesting to create.- Returns:
- trueif and only if expert mode must be enabled in the game
 
 
-