Exemple #1
0
 public msgame()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     IsMouseVisible = true;
     fps = new FpsCounter(this);
     mainMenu = new gameScreens.MainMenu(this);
     optionMenu = new gameScreens.OptionsMenu(this);
     highscoreMenu = new gameScreens.HighscoreMenu(this);
     Components.Add(mainMenu);
     Components.Add(optionMenu);
     Components.Add(highscoreMenu);
     Components.Add(fps);
 }
Exemple #2
0
 public msgame()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     IsMouseVisible        = true;
     fps           = new FpsCounter(this);
     mainMenu      = new gameScreens.MainMenu(this);
     optionMenu    = new gameScreens.OptionsMenu(this);
     highscoreMenu = new gameScreens.HighscoreMenu(this);
     Components.Add(mainMenu);
     Components.Add(optionMenu);
     Components.Add(highscoreMenu);
     Components.Add(fps);
 }