public BooleanButton(Menu.MenuSettings ms, string text, Setting<bool> setting = null) : base(ms) { this.text = text; this.isEnabled = setting == null || setting.Value; this.setting = setting; }
public ColorPicker(Menu.MenuSettings menuSettings, string text, Setting<Color> setting) : base(menuSettings) { this.text = text; this.value = setting.Value; this.setting = setting; }
protected MenuItem(Menu.MenuSettings settings) { this.settings = settings; }