// If has OutGameScreen, show that, since it kinda layers on top. Once that is closed, switch back to the InGameScreen. public ScreenContextStackGameData() { ScreenContextGameDataList = new List <ScreenContextGameData>(); var defaultContext = new ScreenContextGameData(OutGameScreen.Title, InGameScreen.None); Add(defaultContext); }
public void Set(OutGameScreen outGameScreen, InGameScreen inGameScreen) { ScreenContextGameDataList.Clear(); var newScreenContextGameData = new ScreenContextGameData(outGameScreen, inGameScreen); ScreenContextGameDataList.Add(newScreenContextGameData); }
public void SetupBaseScreen(ScreenContextGameData screenContextGameData) { GameDataController.SetBaseScreenAs(screenContextGameData); }
public void Set(ScreenContextGameData screenContextGameData) { ScreenContextGameDataList.Clear(); ScreenContextGameDataList.Add(screenContextGameData); }
public void Add(OutGameScreen outGameScreen, InGameScreen inGameScreen) { var newScreenContextGameData = new ScreenContextGameData(outGameScreen, inGameScreen); ScreenContextGameDataList.Add(newScreenContextGameData); }
public void Add(ScreenContextGameData screenContextGameData) { ScreenContextGameDataList.Add(screenContextGameData); }
internal void SetBaseScreenAs(ScreenContextGameData screenContextGameData) { GameData.ScreenContextStackGameData.Set(screenContextGameData); }
public void CopyFrom(ScreenContextGameData otherScreenContextGameData) { OutGameScreen = otherScreenContextGameData.OutGameScreen; InGameScreen = otherScreenContextGameData.InGameScreen; }