// If player is not dead, draw public void Draw(SpriteBatch spriteBatch) { playerShots.Draw(spriteBatch); if (player.dead == false) { player.Draw(spriteBatch); } }
// Draw enemies and their projectiles public void Draw(SpriteBatch spriteBatch) { EnemyShots.Draw(spriteBatch); foreach (Enemy enemy in Enemies) { enemy.Draw(spriteBatch); } }