Module it.polimi.ingsw.am13
Class MsgResponseStartGame
java.lang.Object
it.polimi.ingsw.am13.network.socket.message.Message
it.polimi.ingsw.am13.network.socket.message.response.MsgResponse
it.polimi.ingsw.am13.network.socket.message.response.MsgResponseStartGame
- All Implemented Interfaces:
Serializable
Response message which is sent when the game starts, containing the game state at that moment
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMsgResponseStartGame
(GameModelIF modelIF) Builds a new response message with the given game state -
Method Summary
Methods inherited from class it.polimi.ingsw.am13.network.socket.message.response.MsgResponse
getType
-
Field Details
-
gameState
The game initial game state
-
-
Constructor Details
-
MsgResponseStartGame
Builds a new response message with the given game state- Parameters:
modelIF
- the game model
-
-
Method Details
-
getGameState
- Returns:
- the game state at the moment the game started
-