Exemplo n.º 1
0
 public bool HaveChildNode(Graph.ActionNode node)
 {
     if (childUnits == null)
     {
         return(false);
     }
     return(childNodesList.Contains(node));
 }
Exemplo n.º 2
0
        private static ExecuteUnit CreateOringalUnit(Graph.ActionNode node, List <ExecuteUnit> copyEnviroment)
        {
            var unit = copyEnviroment.Find(x => x.node == node);

            if (unit == null)
            {
                unit = new ExecuteUnit(node);
                copyEnviroment.Add(unit);
            }
            return(unit);
        }
Exemplo n.º 3
0
        private List <Graph.ActionNode> childNodesList = new List <Graph.ActionNode>();    //子操作节点

        public ExecuteUnit(Graph.ActionNode parentNode)
        {
            this.node = parentNode;
        }