Ejemplo n.º 1
0
        /// <summary>
        /// Draws the game state
        /// </summary>
        public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            //Draws the background
            spriteBatch.Draw(background, new Rectangle(0, 0, _game.GraphicsDevice.Viewport.Width, _game.GraphicsDevice.Viewport.Height), Color.White);

            obstacle.Draw(spriteBatch);
            barrel.Draw(spriteBatch);
        }