Exemplo n.º 1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.CornflowerBlue);
            // TODO: Add your drawing logic here
            GlobalGraphics.BeginArea(_camera.TransformationMatrix);
            _player.Draw(gameTime);
            _word.Draw(gameTime);
            GlobalGraphics.End();

            GlobalGraphics.BeginBackbuffer();
            GlobalGraphics.End();

            base.Draw(gameTime);
        }
Exemplo n.º 2
0
 protected override void UnloadContent()
 {
     GlobalGraphics.UnloadContent();
     base.UnloadContent();
 }