public static void Draw(this SpriteBatch spriteBatch, ButtonGroup control) { control.Draw(spriteBatch); }
public static ButtonGroup Create(IFont font, Vector2 position, Size buttonSize, string[] texts, ITexture2D textureAtlas, ContentManager content, ButtonGroupDirection direction) { var control = new ButtonGroup(font, position, buttonSize, texts, textureAtlas, content, direction); return(control); }