public void AddToUnlockedItemsList(Workstation.Specialty specialty, Workstation.Item item) { switch (specialty) { case Workstation.Specialty.Technology: TechnologyUnlockedItems.Add(item); break; case Workstation.Specialty.Management: ManagementUnlockedItems.Add(item); break; case Workstation.Specialty.Education: EducationUnlockedItems.Add(item); break; default: break; } }
public static void SaveAACPoints(Workstation.Specialty specialty, int amount) { switch (specialty) { case Workstation.Specialty.Technology: saveFile.TechnologyPoints = amount; break; case Workstation.Specialty.Management: saveFile.ManagementPoints = amount; break; case Workstation.Specialty.Education: saveFile.EducationPoints = amount; break; default: break; } }
public void GrantPoints(Workstation.Specialty specialty, int amount) { workstationsDictionary[specialty].AddPoints(amount); }