TapTitanXNA_GodrykAtento.Level.Draw C# (CSharp) Method

Draw() public method

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void
        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(background, Vector2.Zero, null, Color.White);
            hero.Draw(gameTime, spriteBatch);
            slash1Button.Draw(gameTime, spriteBatch);
            spriteBatch.DrawString(damageStringfont, damageNumber + "!!", Vector2.Zero, Color.White);
        }