예제 #1
0
 public virtual void PlayCard(Card card)
 {
     card.Play();
 }
예제 #2
0
            protected override void OnRespondCard(Card card)
            {
                if(card.Owner != RequestedPlayer)
                    throw new BadCardException();
                card.AssertInHand();
                if(card.Type != CardType.Beer)
                    throw new BadCardException();

                card.Play();
                End();
            }