Class ModelUpdated
java.lang.Object
it.polimi.ingsw.Server.Messages.Message
it.polimi.ingsw.Server.Messages.ServerResponses.Response
it.polimi.ingsw.Server.Messages.ServerResponses.FixedStatusResponse
it.polimi.ingsw.Server.Messages.ServerResponses.ModelUpdated
- All Implemented Interfaces:
Serializable
This Response is generated upon an edit of the game's model. Therefore, it is
FixedStatusResponse
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class it.polimi.ingsw.Server.Messages.ServerResponses.Response
getStatusCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
model
-
-
Constructor Details
-
ModelUpdated
Prepare a response with the updated model- Parameters:
model
- reference to the updated model
-
-
Method Details
-
getModel
Get the model- Returns:
- the copy of the
Model
that was updated
-