private void initializeStartMenu() { Components.Clear(); StartScreen startScreen = new StartScreen(this); Components.Add(startScreen); }
// Called when the game should load its content protected override void LoadContent() { speechRecognizer = new SpeechRecognizer(this); helpScreen = new HelpScreen(this); startScreen = new StartScreen(this); levelScreen = new LevelScreen(this); creditsScreen = new CreditsScreen(this); initializeStartMenu(); //initializeGame1(); }