Module it.polimi.ingsw.am13
Class MsgResponseChosenPersonalObjective
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.MsgResponseChosenPersonalObjective
- All Implemented Interfaces:
Serializable
Response message containing the information describing the choice of a personal objective
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CardObjectiveIF
The chosen personal objectiveprivate final PlayerLobby
The player that has chosen the personal objective -
Constructor Summary
ConstructorsConstructorDescriptionMsgResponseChosenPersonalObjective
(PlayerLobby player, CardObjectiveIF chosenObjective) Builds a new response message with the given player and chosen personal objective -
Method Summary
Methods inherited from class it.polimi.ingsw.am13.network.socket.message.response.MsgResponse
getType
-
Field Details
-
player
The player that has chosen the personal objective -
chosenObjective
The chosen personal objective
-
-
Constructor Details
-
MsgResponseChosenPersonalObjective
Builds a new response message with the given player and chosen personal objective- Parameters:
player
- the player that has chosen the personal objectivechosenObjective
- the chosen personal objective
-
-
Method Details
-
getPlayer
- Returns:
- the player that has chosen the personal objective
-
getChosenObjective
- Returns:
- the chosen personal objective
-