Пример #1
0
 private void DiscardCardFromHand(Cards.Card p)
 {
     if (!humanDiscard && humanDraw)
     {
         HumanCards.Remove(p);
         Discards.Add(p);
         removePossibleCard(p);
         humanDiscard = true;
         startGame    = true;
         playerTurn   = false;
     }
     else
     {
         if (!startGame)
         {
             RaiseNotification("You must draw a card first", "Invalid Action");
         }
         else
         {
             if (!playerTurn)
             {
                 RaiseNotification("You already discard a card", "Invalid Action");
             }
             else
             {
                 RaiseNotification("You must draw a card first", "Invalid Action");
             }
         }
     }
 }
Пример #2
0
 private void DiscardCardFromHand(Cards.Card p)
 {
     if (HumanCards.Count > 10 && humanTurn)
     {
         HumanCards.Remove(p);
         Discards.Add(p);
         humanTurn = false;
     }
 }
Пример #3
0
        private void DiscardCardFromHand(Cards.Card p)
        {
            if (canNowDiscard)
            {
                HumanCards.Remove(p);
                Discards.Add(p);

                canNowDiscard = false;
                computerSeen.Remove(p);
                ArtificialPlayer();
            }
        }
Пример #4
0
 private void DiscardCardFromHand(Cards.Card p)
 {
     if (discardStage)
     {
         HumanCards.Remove(p);
         Discards.Add(p);
         discardStage  = false;
         computerStage = true;
         ComputerPlayerTurn();
     }
     else
     {
         RaiseNotification("Not in Discard Stage", "Title");
     }
 }
Пример #5
0
 private void DiscardCardFromHand(Cards.Card p)
 {
     HumanCards.Remove(p);
     Discards.Add(p);
 }