public void Draw(SpriteBatch spriteBatch) { if (show) { background.Draw(spriteBatch); exitBtn.Draw(spriteBatch); red.Draw(spriteBatch); green.Draw(spriteBatch); blue.Draw(spriteBatch); } }
public override void Draw(SpriteBatch spriteBatch) { if (Show == true) { spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, locationMatrix); title.Draw(spriteBatch); musicVolumeBar.Draw(spriteBatch); soundFXVolumeBar.Draw(spriteBatch); musicVolumeText.Draw(spriteBatch); soundFXVolumeText.Draw(spriteBatch); musicVolumeValue.Draw(spriteBatch); soundFXVolumeValue.Draw(spriteBatch); spriteBatch.End(); } }