Class MsgCommandChoosePersonalObjective

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.MsgCommandChoosePersonalObjective
All Implemented Interfaces:
Serializable

public class MsgCommandChoosePersonalObjective extends MsgCommand implements Serializable
Command message which is sent to choose the personal objective
See Also:
  • Field Details

  • Constructor Details

    • MsgCommandChoosePersonalObjective

      public MsgCommandChoosePersonalObjective(CardObjectiveIF card)
      Creates the message by setting the attribute to the parameter
      Parameters:
      card - the chosen personal objective
  • Method Details

    • getCard

      public CardObjectiveIF getCard()
      Returns:
      the chosen personal objective