public void LoadNewGameplayScreens(int currentLevel) { Music.PlayAmbientMusic(); ShipInteriorScreen = new ShipInteriorScreen(this, String.Format("XML/Ship Interior Maps/{0}Interior", "Dragonfly")); SpaceScreen = new SpaceScreen(this, String.Format("XML/Space Data/Space Data/Level{0}Data", currentLevel)); ShipInteriorScreen.ScreenState = ScreenState.Frozen; SpaceScreen.ScreenState = ScreenState.Frozen; // ShipInteriorScreen.LoadContent(); SpaceScreen.LoadContent(); SensorsScreen = new SensorsScreen(this, SpaceScreen); SensorsScreen.LoadContent(); // Add all the details because this involves adding sensor images which requires the SensorsScreen to load content SpaceScreen.SetUpSpaceScreen(); DoneLoading = true; }