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"); } } } }
private void DiscardCardFromHand(Cards.Card p) { if (HumanCards.Count > 10 && humanTurn) { HumanCards.Remove(p); Discards.Add(p); humanTurn = false; } }
private void DiscardCardFromHand(Cards.Card p) { if (canNowDiscard) { HumanCards.Remove(p); Discards.Add(p); canNowDiscard = false; computerSeen.Remove(p); ArtificialPlayer(); } }
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"); } }
private void DiscardCardFromHand(Cards.Card p) { HumanCards.Remove(p); Discards.Add(p); }