예제 #1
0
    public void IncreaseOrDecreaseStats(int howMuchToAddToStat)
    {
        if (currentPage.StatChangeType == StatType.Strength)
        {
            StatisticsTrackerObject.AddStrength(howMuchToAddToStat);
        }
        else if (currentPage.StatChangeType == StatType.Arcana)
        {
            StatisticsTrackerObject.AddArcana(howMuchToAddToStat);
        }

        else if (currentPage.StatChangeType == StatType.Corruption)
        {
            StatisticsTrackerObject.AddCorruption(howMuchToAddToStat);
        }
    }