Module it.polimi.ingsw.am13
Class MsgCommandPickCard
java.lang.Object
it.polimi.ingsw.am13.network.socket.message.Message
it.polimi.ingsw.am13.network.socket.message.command.MsgCommand
it.polimi.ingsw.am13.network.socket.message.command.MsgCommandPickCard
- All Implemented Interfaces:
Serializable
Command message which is sent to pick a card
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CardPlayableIF
The card that the player wants to pick -
Constructor Summary
ConstructorsConstructorDescriptionCreates the message by setting the attribute to the parameter -
Method Summary
-
Field Details
-
card
The card that the player wants to pick
-
-
Constructor Details
-
MsgCommandPickCard
Creates the message by setting the attribute to the parameter- Parameters:
card
- that the player wants to pick
-
-
Method Details
-
getCard
- Returns:
- the card that the player wants to pick
-