Module it.polimi.ingsw.am13
Class MsgResponsePlayerLeftRoom
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.MsgResponsePlayerLeftRoom
- All Implemented Interfaces:
Serializable
Response message which is sent when a player successfully leaves a game
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMsgResponsePlayerLeftRoom
(PlayerLobby player) Builds a new response message with the given player -
Method Summary
Methods inherited from class it.polimi.ingsw.am13.network.socket.message.response.MsgResponse
getType
-
Field Details
-
player
Player who left the room
-
-
Constructor Details
-
MsgResponsePlayerLeftRoom
Builds a new response message with the given player- Parameters:
player
- the player who left the room
-
-
Method Details
-
getPlayer
- Returns:
- the player who left the room
-