Exemple #1
0
    private void CardInteraction(MemoryCard newCard)
    {
        if (currentCard == newCard)
        {
            return;
        }

        if (currentCard)
        {
            currentCard.DeselectCard();
        }

        currentCard = newCard;
        currentCard.SelectCard();
    }