Class StartGameRequest
java.lang.Object
it.polimi.ingsw.Server.Messages.Message
it.polimi.ingsw.Server.Messages.Events.Requests.ClientRequest
it.polimi.ingsw.Server.Messages.Events.Requests.StartGameRequest
- All Implemented Interfaces:
ClientEvent
,Serializable
Represents a Client triying to start a game in a
Lobby
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
gameMode
-
-
Constructor Details
-
StartGameRequest
Construct the request- Parameters:
gameMode
- a variant ofGameMode
to select the rules of the game to apply (simplified or advanced)
-
-
Method Details
-
getGameMode
Get the selected game mode- Returns:
- a variant of
GameMode
to select the rules of the game to apply (simplified or advanced)
-