Class StartGameRequest

All Implemented Interfaces:
ClientEvent, Serializable

public class StartGameRequest extends ClientRequest
Represents a Client triying to start a game in a Lobby
See Also:
  • Field Details

  • Constructor Details

    • StartGameRequest

      public StartGameRequest(GameMode gameMode)
      Construct the request
      Parameters:
      gameMode - a variant of GameMode to select the rules of the game to apply (simplified or advanced)
  • Method Details

    • getGameMode

      public GameMode getGameMode()
      Get the selected game mode
      Returns:
      a variant of GameMode to select the rules of the game to apply (simplified or advanced)