Esempio n. 1
0
    public void LevelUpCard(Card card)
    {
        int cardIndex = CardPrototypesAccessor.FindIndexOnPrototypesArray(card);

        cardsLevel[cardIndex]++;
        CardPrototypesAccessor.UpdatePrototypesLevel();
    }
Esempio n. 2
0
    public int GetLevelOfCard(Card card)
    {
        int index     = CardPrototypesAccessor.FindIndexOnPrototypesArray(card);
        int cardLevel = cardsLevel[index];

        return(cardLevel);
    }