Class DrawCardEvent

All Implemented Interfaces:
Serializable, Cloneable, HasCard, Notification

public final class DrawCardEvent extends CardEvent
A card was put into the hand.

isDrawn() is true if the card was drawn from the deck.

See Also:
  • Constructor Details

    • DrawCardEvent

      public DrawCardEvent(GameContext context, int playerId, Card card, boolean drawn)
  • Method Details

    • isDrawn

      public boolean isDrawn()