Exemplo n.º 1
0
        private void ExitGame()
        {
            state = AppState.Exiting;
            menuOrganizer = null;
            graphics = null;
            spriteBatch = null;

            this.Exit();
        }
Exemplo n.º 2
0
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     DrawStuff.SpriteBatch = spriteBatch;
     menuOrganizer = new MenuOrganizer();
     CreateMenus();
 }