public void TakeApprentice(Magus apprentice) { // TODO: what sort of error checking should go here? Apprentice = apprentice; // add a teaching goal for each year for (byte i = 2; i < 16; i++) { uint dueDate = (uint)(i * 4); IGoal teachingGoal = new TeachApprenticeGoal(this, this.SeasonalAge + i - 1, 1); _goals.Add(teachingGoal); } IGoal gauntletGoal = new GauntletApprenticeGoal(this, this.SeasonalAge + 60, 1); _goals.Add(gauntletGoal); }
public void TakeApprentice(Magus apprentice) { // TODO: what sort of error checking should go here? Apprentice = apprentice; // add a teaching goal for each year for (byte i = 2; i < 16; i++) { uint dueDate = (uint)(i * 4); IGoal teachingGoal = new TeachApprenticeGoal(); _goals.Add(teachingGoal); } IGoal gauntletGoal = new GauntletApprenticeGoal(); _goals.Add(gauntletGoal); }