private void UpdateCardDataDisplay(Card newSelectedCard) { cardHeader.Text = newSelectedCard.ToFullString(); dataCardName.Text = newSelectedCard.ToFullString(); dataCardSuit.Text = newSelectedCard.SuitToString(); dataCardValue.Text = newSelectedCard.ValueToString(); dataCardPlayed.Text = newSelectedCard.GetPlayed().ToString(); dataCardName.Visible = true; dataCardSuit.Visible = true; dataCardValue.Visible = true; dataCardPlayed.Visible = true; }
public void RecieveCard(Card card) { this.playerHand.RecieveCard(card); Console.WriteLine(playerName + " has recieved " + card.ToFullString()); }