Module it.polimi.ingsw.am13
Class MsgResponsePlayerJoinedRoom
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.MsgResponsePlayerJoinedRoom
- All Implemented Interfaces:
Serializable
Response message which is sent when a player successfully joins or creates a room
- 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
Player who joined the room
-
-
Constructor Details
-
MsgResponsePlayerJoinedRoom
Builds a new response message with the given player- Parameters:
player
- the player who joined the room
-
-
Method Details
-
getPlayer
- Returns:
- the player who joined the room
-