private void AddButton(float x, float y, string text, MiniMenuButton buttonType) { _buttons.Add(new ButtonInfo { Button = new Button(x, y, text), Type = buttonType }); }
private void AddButton(float y, string text, MiniMenuButton buttonType) { AddButton(512 - 125, y, text, buttonType); }