This class represent the Start(pause) Screen that show on startup and on pausing the game having options to start a new game,continue , go to help or credit screen or change the difficulty or exit
Inheritance: Screen
示例#1
0
        private void initializeStartMenu()
        {
            Components.Clear();
            StartScreen startScreen = new StartScreen(this);

            Components.Add(startScreen);
        }
示例#2
0
 // 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();
 }
示例#3
0
 // 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();
 }
示例#4
0
        private void initializeStartMenu()
        {
            Components.Clear();
            StartScreen startScreen = new StartScreen(this);

            Components.Add(startScreen);
        }