Example #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);
        }
Example #2
0
 protected override void UnloadContent()
 {
     GlobalGraphics.UnloadContent();
     base.UnloadContent();
 }