static void Main() { using (var game = new DonkeyKong()) { game.Run(); } }
protected override void LoadContent() { self = this; // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); screen = new Point(750, 600); ApplyResolutionSettings(); // TODO: use this.Content to load your game content here GameStateManager.AddGameState("StartScreen", new StartScreen()); GameStateManager.AddGameState("PlayingState", new PlayingState()); GameStateManager.AddGameState("Endscreen", new Endscreen()); GameStateManager.SwitchTo("StartScreen"); }