private void CheckWantedLevelChange(WantedLevelChange wantedLevelChange) { switch (wantedLevelChange) { case Enums.WantedLevelChange.Increase: WantedLevelChange += 1; break; case Enums.WantedLevelChange.Decrease: WantedLevelChange -= 1; break; default: break; } }
public ActivityLog(int income, WantedLevelChange wantedLevelChange = Enums.WantedLevelChange.NoChange) { Income = income; CheckWantedLevelChange(wantedLevelChange); }