public OpenDistrictScreen(MSDistrictScreen.DistrictName name) { this.name = name; }
public static void Init(MSDistrictScreen.DistrictName name) { StoryEnabled = false; VolunteerCenterEnabled = true; TowerEnabled = true; FirstMDGBranchEnabled = true; SecondMDGBranchEnabled = true; ThirdMDGBranchEnabled = true; if (StoryEnabled) { timeActiveEvents = new List<MSStoryEvent>(); eventsToRemove = new List<MSStoryEvent>(); switch(name) { case MSDistrictScreen.DistrictName.FEAR: AddStoryEvent(new District1()); FirstMDGBranchEnabled = true; SecondMDGBranchEnabled = false; ThirdMDGBranchEnabled = false; break; case MSDistrictScreen.DistrictName.SADNESS: AddStoryEvent(new District2()); FirstMDGBranchEnabled = true; SecondMDGBranchEnabled = true; ThirdMDGBranchEnabled = false; break; case MSDistrictScreen.DistrictName.ANGER: AddStoryEvent(new District3()); FirstMDGBranchEnabled = true; SecondMDGBranchEnabled = true; ThirdMDGBranchEnabled = true; break; } } }