public override void OnOutAnimationFinished() { switch (_selectedOption) { case 0: if (_selectRaceScreen == null) { _selectRaceScreen = new SelectRaceScreen(this); } GameEngine.Screen = _selectRaceScreen; break; case 1: if (_selectCarScreen == null) { _selectCarScreen = new SelectCarScreen(this); } GameEngine.Screen = _selectCarScreen; break; case 2: GameEngine.Screen = new LoadRaceScreen(this); break; } }
public override void OnOutAnimationFinished() { switch (_selectedOption) { case 0: if (_selectRaceScreen == null) _selectRaceScreen = new SelectRaceScreen(this); Engine.Screen = _selectRaceScreen; break; case 1: if (_selectCarScreen == null) _selectCarScreen = new SelectCarScreen(this); Engine.Screen = _selectCarScreen; break; case 2: Engine.Screen = new LoadRaceScreen(this); break; } }