All Implemented Interfaces:
Serializable

public class MsgResponseStartGame extends MsgResponse implements Serializable
Response message which is sent when the game starts, containing the game state at that moment
See Also:
  • Field Details

    • gameState

      private final GameState gameState
      The game initial game state
  • Constructor Details

    • MsgResponseStartGame

      public MsgResponseStartGame(GameModelIF modelIF)
      Builds a new response message with the given game state
      Parameters:
      modelIF - the game model
  • Method Details

    • getGameState

      public GameState getGameState()
      Returns:
      the game state at the moment the game started