private void ExitGame() { state = AppState.Exiting; menuOrganizer = null; graphics = null; spriteBatch = null; this.Exit(); }
protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); DrawStuff.SpriteBatch = spriteBatch; menuOrganizer = new MenuOrganizer(); CreateMenus(); }