Exemple #1
0
        public override void Draw()
        {
            GV.Graphics.GraphicsDevice.SetRenderTarget(screenBackBuffer);
            GV.Graphics.GraphicsDevice.Clear(Color.Black);

            GV.SpriteBatch.Begin();
            //GV.SpriteBatch.Draw(Textures.px, new Rectangle(0, 0, GV.GameSize.X, GV.GameSize.Y), Color.White);

            //Draw Map
            mapHandler.DrawMap();

            //Draw Objects
            mapHandler.DrawObjects();

            GV.SpriteBatch.End();

            GV.Graphics.GraphicsDevice.SetRenderTarget(null);
        }