private Age DetermineAge(Race race, CharacterClass characterClass) { var tableName = string.Format(TableNameConstants.Formattable.Adjustments.RACEAges, race.BaseRace); var ages = adjustmentsSelector.SelectFrom(tableName); var age = new Age(); age.Maximum = GetMaximumAge(race, ages); age.Years = GetAgeInYears(race, characterClass, ages, age.Maximum); age.Stage = GetAgeStage(age.Years, ages); return age; }
public void Setup() { age = new Age(); }