public SelectableMenu(DoomMenu menu, string name, int titleX, int titleY, int firstChoice, params MenuItem[] items) : base(menu) { this.name = new[] { name }; this.titleX = new[] { titleX }; this.titleY = new[] { titleY }; this.items = items; this.index = firstChoice; this.choice = items[this.index]; }
public HelpScreen(DoomMenu menu) : base(menu) { if (DoomApplication.Instance.IWad == "doom1") { this.pageCount = 2; } else { this.pageCount = 1; } }
public SaveMenu(DoomMenu menu, string name, int titleX, int titleY, int firstChoice, params TextBoxMenuItem[] items) : base(menu) { this.name = new[] { name }; this.titleX = new[] { titleX }; this.titleY = new[] { titleY }; this.items = items; this.index = firstChoice; this.choice = items[this.index]; this.lastSaveSlot = -1; }
public HelpScreen(DoomMenu menu) : base(menu) { }
public YesNoConfirm(DoomMenu menu, string text, Action action) : base(menu) { this.text = text.Split('\n'); this.action = action; }
public MenuDef(DoomMenu menu) { this.menu = menu; }
public PressAnyKey(DoomMenu menu, string text, Action action) : base(menu) { this.text = text.Split('\n'); this.action = action; }