예제 #1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     if (show)
     {
         background.Draw(spriteBatch);
         exitBtn.Draw(spriteBatch);
         red.Draw(spriteBatch);
         green.Draw(spriteBatch);
         blue.Draw(spriteBatch);
     }
 }
예제 #2
0
 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();
     }
 }