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); } }
public void draw(SpriteBatch spriteBatch) { arrows.draw(spriteBatch); text.draw(spriteBatch, font); }
public void draw(SpriteBatch spriteBatch) { title.draw(spriteBatch, font); }
public virtual void draw(SpriteBatch spriteBatch) { text.draw(spriteBatch, font); }