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); }
private void newGame() { game = new ShipGame(Content, Window); game.Initialize(); game.LoadContent(font); }