Module it.polimi.ingsw.am13
Class MsgResponsePlayerReconnected
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.MsgResponsePlayerReconnected
- All Implemented Interfaces:
Serializable
Response message which is sent when a player successfully reconnects to an existing game
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBuilds 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
The player that has reconnected
-
-
Constructor Details
-
MsgResponsePlayerReconnected
Builds a new response message with the given player- Parameters:
player
- the player that has reconnected
-
-
Method Details
-
getPlayer
- Returns:
- the player that has reconnected
-