void Start() { Screens = new Dictionary <ScreenMode, GameObject> { [ScreenMode.DevelopmentScreen] = TechnologyScreen, [ScreenMode.ProjectScreen] = ProjectScreen, [ScreenMode.InvesmentsScreen] = InvesmentsScreen, [ScreenMode.InvesmentProposalScreen] = InvesmentProposalScreen, [ScreenMode.IndustryScreen] = IndustryScreen, [ScreenMode.NicheScreen] = NicheScreen, [ScreenMode.CharacterScreen] = CharacterScreen, [ScreenMode.GroupManagementScreen] = GroupManagementScreen, [ScreenMode.TeamScreen] = TeamScreen, [ScreenMode.MarketingScreen] = MarketingScreen, [ScreenMode.InvestmentOfferScreen] = InvestmentOfferScreen, [ScreenMode.JobOfferScreen] = JobOfferScreen, [ScreenMode.CompanyGoalScreen] = CompanyGoalScreen, [ScreenMode.EmployeeScreen] = EmployeeScreen, [ScreenMode.ManageCompaniesScreen] = ManageCompaniesScreen, [ScreenMode.BuySharesScreen] = BuySharesScreen, [ScreenMode.CompanyEconomyScreen] = CompanyEconomyScreen, [ScreenMode.MarketExplorationScreen] = MarketExplorationScreen, [ScreenMode.CompanyExplorationScreen] = CompanyExplorationScreen, [ScreenMode.LeaderboardScreen] = LeaderboardScreen, [ScreenMode.ExplorationScreen] = ExplorationScreen, [ScreenMode.NicheInfoScreen] = NicheInfoScreen, [ScreenMode.AcquisitionScreen] = AcquisitionScreen, [ScreenMode.SalesScreen] = SalesScreen, [ScreenMode.PotentialCompaniesScreen] = PotentialCompaniesScreen, [ScreenMode.AnnualReportScreen] = AnnualReportScreen, [ScreenMode.StartCampaignScreen] = StartCampaignScreen, [ScreenMode.GroupScreen] = GroupScreen, [ScreenMode.HoldingScreen] = HoldingScreen, [ScreenMode.CorporationScreen] = CorporationScreen, [ScreenMode.AcquirableCompaniesOnNicheScreen] = AcquirableCompaniesOnNicheScreen, [ScreenMode.JoinCorporationScreen] = JoinCorporationScreen, [ScreenMode.FormStrategicPartnershipScreen] = FormStrategicPartnershipScreen, [ScreenMode.TrendsScreen] = TrendsScreen, }; DisableAllScreens(); EnableScreen(ScreenMode.NicheScreen); GameEntity e = ScreenUtils.GetMenu(Contexts.sharedInstance.game); e.AddMenuListener(this); }
public void ListenMenuChanges(IMenuListener menuListener) { ScreenUtils.GetMenu(Q).AddMenuListener(menuListener); }
public void SetObservableCompany() { var screenMode = ScreenUtils.GetMenu(Q).menu.ScreenMode; ObservableCompany = screenMode == ScreenMode.GroupManagementScreen ? MyGroupEntity : SelectedCompany; }
public void UnListenMenuChanges(IMenuListener menuListener) { ScreenUtils.GetMenu(Q).RemoveMenuListener(menuListener); }
public GameEntity AnyChangeListener() { return(ScreenUtils.GetMenu(Q)); }
public void UnListenNavigationChanges(INavigationHistoryListener listener) { ScreenUtils.GetMenu(Q).RemoveNavigationHistoryListener(listener); }
void IInitializeSystem.Initialize() { var c = ScreenUtils.GetMenu(context); }
void Start() { menu = ScreenUtils.GetMenu(Q); }