public Selection(string text, MenuManager.Action action, object value, Rectangle position) { Text = text; Action = action; Value = value; Position = position; }
public void AddSelection(string text, MenuManager.Action action, object value, Rectangle position) { _selections.Add(new Selection(text, action, value, position)); }