Example #1
0
 public RunGame()
     : base()
 {
     graphicsManager = new GraphicsDeviceManager(this);
     graphicsManager.IsFullScreen = false;
     graphicsManager.PreferredBackBufferHeight = 720;
     graphicsManager.PreferredBackBufferWidth  = 1280;
     Content.RootDirectory = "Content";
     state        = State.Menu;
     Window.Title = "Shooty Shooty Game-The Game";
     game         = new ShipGame(Content, Window);
 }
Example #2
0
 private void newGame()
 {
     game = new ShipGame(Content, Window);
     game.Initialize();
     game.LoadContent(font);
 }