Exemple #1
0
        public void draw(SpriteBatch spriteBatch)
        {
            if (state == OptionState.highlighted)
            {
                highlighter.draw(spriteBatch);
            }

            text.draw(spriteBatch, font);

            if (drawNumber)
            {
                spriteBatch.DrawString(font, number.ToString(), numberVector, text.color);
            }

            if (slider != null)
            {
                slider.draw(spriteBatch);
            }
        }
Exemple #2
0
 public void draw(SpriteBatch spriteBatch)
 {
     arrows.draw(spriteBatch);
     text.draw(spriteBatch, font);
 }
Exemple #3
0
 public void draw(SpriteBatch spriteBatch)
 {
     title.draw(spriteBatch, font);
 }
Exemple #4
0
 public virtual void draw(SpriteBatch spriteBatch)
 {
     text.draw(spriteBatch, font);
 }