TapTitanXNA_Aldecoa.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, Color.White);
             shia.Draw(gameTime, spriteBatch);
             jojo.Draw(gameTime, spriteBatch);
             hero.Draw(gameTime, spriteBatch);
             spriteBatch.DrawString(shiaHealth,shiaOuch+ " :Shia Health", Vector2.Zero, Color.Blue);
             spriteBatch.DrawString(GameOver,Over, new Vector2(400,150), Color.Red);
             spriteBatch.DrawString(Damage,"Damage:" + dmg +" total",new Vector2(0,200), Color.Aquamarine);
             attackButton.Draw(gameTime, spriteBatch);
        }