All Implemented Interfaces:
Serializable

public class MsgCommandPickCard extends MsgCommand implements Serializable
Command message which is sent to pick a card
See Also:
  • Field Details

    • card

      private final CardPlayableIF card
      The card that the player wants to pick
  • Constructor Details

    • MsgCommandPickCard

      public MsgCommandPickCard(CardPlayableIF card)
      Creates the message by setting the attribute to the parameter
      Parameters:
      card - that the player wants to pick
  • Method Details

    • getCard

      public CardPlayableIF getCard()
      Returns:
      the card that the player wants to pick