protected override void CloneProperties(Node newnode) { base.CloneProperties(newnode); Task right = (Task)newnode; if (_task != null) { right._task = (MethodDef)_task.Clone(); } }
protected override void CloneProperties(Node newnode) { base.CloneProperties(newnode); SequenceStochastic prec = (SequenceStochastic)newnode; if (_method != null) { prec._method = (MethodDef)_method.Clone(); } }
protected override void CloneProperties(Node newnode) { base.CloneProperties(newnode); SelectorProbability prec = (SelectorProbability)newnode; if (_method != null) { prec._method = (MethodDef)_method.Clone(); } }
protected override void CloneProperties(Node newnode) { base.CloneProperties(newnode); Action right = (Action)newnode; if (_method != null) { right._method = (MethodDef)_method.Clone(); } right._methodResultOption = _methodResultOption; if (_methodResultFunctor != null) { right._methodResultFunctor = (MethodDef)_methodResultFunctor.Clone(); } }