示例#1
0
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);
            Cargador.Init(this);
            Manejador.anchoPantalla = graphics.PreferredBackBufferWidth;
            Manejador.altoPantalla  = graphics.PreferredBackBufferHeight;

            ManejadorEscenas.CargarEscenas();
            ManejadorEscenas.Cambiar(Manejador.primerEscena);
        }