public DesignerItem DrawExpResultOnCanvas() { Dictionary <int, string> protoType = new Dictionary <int, string>(); Dictionary <int, List <string> > param = new Dictionary <int, List <string> >(); protoType[0] = "Exp"; List <DesignerItem> itemList = DrawComponent.addNode("ConditionExpResult", protoType, param); return(itemList[0]); }
public DesignerItem DrawAndorOrExpOnCanvas(string protoName, string typeName, string expType) { DrawComponent.expComboBox = expType.Equals("and") ? andExp : orExp; if (DrawComponent.expComboBox.Count > 0) { Dictionary <int, string> protoType = new Dictionary <int, string>(); Dictionary <int, List <string> > param = new Dictionary <int, List <string> >(); protoType[0] = protoName; List <string> paramList1 = new List <string>(); paramList1.Add(DrawComponent.expComboBox.Count.ToString()); param[0] = paramList1; List <DesignerItem> itemList = DrawComponent.addNode(typeName, protoType, param); return(itemList[0]); } return(null); }
public List <DesignerItem> DrawTargetTriggersOnCanvas() { List <DesignerItem> itemList = DrawComponent.addNode("Target", targetDictionary, targetParamDictionary); return(itemList); }
public List <DesignerItem> DrawActionTriggersOnCanvas() { List <DesignerItem> itemList = DrawComponent.addNode("Action", actionDictionary, actionParamDictionary, actionTargetLinker); return(itemList); }