public virtual void Draw(SpriteBatch sb) { Vector2 size = new Vector2(12 * text.Length, 16); sb.DrawString(font, text, pos - (size*center), color); }
public void Draw(SpriteBatch sb) { title.Draw(sb); foreach (TextButton b in buttons) { b.Draw(sb); } }