Esempio n. 1
0
        private void CheckWantedLevelChange(WantedLevelChange wantedLevelChange)
        {
            switch (wantedLevelChange)
            {
            case Enums.WantedLevelChange.Increase:
                WantedLevelChange += 1;
                break;

            case Enums.WantedLevelChange.Decrease:
                WantedLevelChange -= 1;
                break;

            default:
                break;
            }
        }
Esempio n. 2
0
 public ActivityLog(int income, WantedLevelChange wantedLevelChange = Enums.WantedLevelChange.NoChange)
 {
     Income = income;
     CheckWantedLevelChange(wantedLevelChange);
 }