Esempio n. 1
0
 public RepeatNode(ActionNodeBase node, int repeatCount)
 {
     _node        = node;
     _repeatCount = repeatCount;
 }
Esempio n. 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);
 }
Esempio n. 4
0
 /// <summary>
 /// 追加结点到结点链中
 /// </summary>
 public abstract NodeChainBase Append(ActionNodeBase node);