public ObjectItem(int ax, int ay, string aObjName) { x = ax; y = ay; ObjName = aObjName; ObjText = UI.font20.Text(aObjName); ProjectData.Log($"- Object list item created {ObjName} -- Set onto ({x},{y})"); }
PDM_Item(PDMEN aParent, string Caption, int EventCode, string qkey) { PDM_Items[aParent].Add(this); Parent = aParent; CaptString = Caption; CaptText = font20.Text(Caption); qkeyString = qkey; qkeyText = font20.Text(qkey); MenuEventCode = EventCode; }
public static void ComeToMe(int aTex) { if (me == null) { me = new SetAllowance(); } Tex = aTex; if (Tex == 0) { return; } Head = UI.font32.Text($"Please set up the allowance state for {Tex.ToString("X2")}"); LAL(TexAllow.Allow, "Allow"); LAL(TexAllow.Deny, "Deny"); LAL(TexAllow.Annoy, "Annoy"); LAL(TexAllow.Auto, "Auto"); ProjectData.Game.SetStage(me); }
public PullDownMenus(Heads parent, string Caption, CallBackVoid CB, Keys QuickKey = Keys.None, RequireBool Requirement = null) { ParentTop = parent; Parent = Top[parent]; Parent.Kids.Add(this); this.Caption = Caption; CaptGraph = Void.Font.Text(Caption); CallBack = CB; this.QuickKey = QuickKey; if (Requirement != null) { Require = Requirement; } else { Require = Always; } Debug.WriteLine($"Created menu item {Caption} in parent {parent}"); }
public TL_Item(string af, int ay) { filename = af; y = ay; dt = UI.font20.Text(filename); }