Exemplo n.º 1
0
        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]);
        }
Exemplo n.º 2
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);
 }
Exemplo n.º 3
0
        public List <DesignerItem> DrawTargetTriggersOnCanvas()
        {
            List <DesignerItem> itemList = DrawComponent.addNode("Target", targetDictionary, targetParamDictionary);

            return(itemList);
        }
Exemplo n.º 4
0
        public List <DesignerItem> DrawActionTriggersOnCanvas()
        {
            List <DesignerItem> itemList = DrawComponent.addNode("Action", actionDictionary, actionParamDictionary, actionTargetLinker);

            return(itemList);
        }