Exemplo n.º 1
0
 //Draw.
 public void Draw(SpriteBatch sprite)
 {
     foreach (var place in places)
     {
         place.Draw(sprite);
     }
     foreach (var score in scores)
     {
         score.Draw(sprite);
     }
     foreach (var name in names)
     {
         name.Draw(sprite);
     }
     if (inputName == true)
     {
         input.Draw(sprite);
     }
 }
Exemplo n.º 2
0
 //Draw all buttons and such.
 public void Draw(SpriteBatch spriteBatch)
 {
     if (inputingData == false)
     {
         Title.Draw(spriteBatch);
     }
     foreach (var option in options)
     {
         option.Draw(spriteBatch);
     }
     foreach (var recommendation in recommendations)
     {
         recommendation.Draw(spriteBatch);
     }
     foreach (var text in input)
     {
         text.Draw(spriteBatch);
     }
 }