public Option(string text, Utils.EventHandler function = null, Option[] subOptions = null, OptGetter update = null) { Text = text; DrawableText = new PlainText(text); SubOpts = subOptions; Click = function; HasFunction = function != null; Activatable = HasFunction || SubOpts != null; Updater = update; }
public ColorOption(IDrawableText text, Utils.EventHandler function = null, Option[] subOptions = null, ColorOptGetter update = null) : base(text.Text, function, subOptions) { DrawableText = text; Updater = update; }