Exemplo n.º 1
0
    public void AddCard()
    {
        if (CanWeAddThisCard() == true)
        {
            cardInfo.CardInfoPanelHide();

            MyDeck.AddCardToDeck(currentCard);
            PlayerInfo.playerCardInventory[currentCard]--;
            UpdateAvailableCardsGrid();
            PopulateDeckGrid(currentCard);
        }
        else
        {
            showMessage = true;
        }
    }