Class GameOver
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.GameOver
- All Implemented Interfaces:
Serializable
This Response is generated when a lobby's game is over and is sent to the lobby's clients.
Therefore, it is
FixedStatusResponse
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
-
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:
-
winners
-
-
Constructor Details
-
GameOver
Create the response- Parameters:
winners
- the winners of the game
-
-
Method Details
-
getWinners
Get the winners of the game- Returns:
- an Unmodifiable
List
containing the list of winners for the game
-