Example #1
0
 public RepeatNode(ActionNodeBase node, int repeatCount)
 {
     _node        = node;
     _repeatCount = repeatCount;
 }
Example #2
0
 /// <summary>
 /// 追加新的子结点到序列结点中
 /// </summary>
 public SequenceNode Append(ActionNodeBase appendedNode)
 {
     _nodes.Add(appendedNode);
     _excutingNodes.Add(appendedNode);
     return(this);
 }
 /// <summary>
 /// 追加结点到结点链中
 /// </summary>
 public override NodeChainBase Append(ActionNodeBase node)
 {
     _sequenceNode.Append(node);
     return(this);
 }
Example #4
0
 /// <summary>
 /// 追加结点到结点链中
 /// </summary>
 public abstract NodeChainBase Append(ActionNodeBase node);