private void LoadRoadRacerDeathScreen() { if (_rLevel != null) { _rLevel.LateRemove(); _rLevel = null; } _rDeathScreen = new DeathScreenRoad(this); LateAddChild(_rDeathScreen); }
//------------------------------------------------------------------------------------------------------------------------ // ROAD RACER //------------------------------------------------------------------------------------------------------------------------ private void LoadRoadRaceMenu() { GXPEngine.OpenGL.GL.glfwSetWindowTitle("The Homebox Arcade - Road Racer"); Console.WriteLine("Loading Race"); if (_mainHub != null) { _mainHub.LateDestroy(); _mainHub = null; _backgroundMusicChannel.Stop(); } if (_rDeathScreen != null) { _rDeathScreen.LateDestroy(); _rDeathScreen = null; } _roadRacer = new MainMenuRoadRacer(this); LateAddChild(_roadRacer); Console.WriteLine("Race Loaded!"); }