public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
{
spriteBatch.Draw(background, Vector2.Zero, null, Color.White, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, 0.0f);
// enemy1.Draw(gameTime, spriteBatch);
// enemy2.Draw(gameTime, spriteBatch);
support1.Draw(gameTime, spriteBatch);
switch (level)
{
case 1:
enemy1.Draw(gameTime, spriteBatch);
break;
case 2:
enemy2.Draw(gameTime, spriteBatch);
break;
default:
break;
}
hero.Draw(gameTime, spriteBatch);
spriteBatch.DrawString(damageStringFont, "HP = " + currentEnemyHP, Vector2.Zero, Color.Red);
//playButton.Draw(gameTime, spriteBatch);
attackButton.Draw(gameTime, spriteBatch);
}