Example #1
0
        protected override void CloneProperties(Node newnode)
        {
            base.CloneProperties(newnode);

            Task right = (Task)newnode;

            if (_task != null)
            {
                right._task = (MethodDef)_task.Clone();
            }
        }
Example #2
0
        protected override void CloneProperties(Node newnode)
        {
            base.CloneProperties(newnode);

            SequenceStochastic prec = (SequenceStochastic)newnode;

            if (_method != null)
            {
                prec._method = (MethodDef)_method.Clone();
            }
        }
Example #3
0
        protected override void CloneProperties(Node newnode)
        {
            base.CloneProperties(newnode);

            SelectorProbability prec = (SelectorProbability)newnode;

            if (_method != null)
            {
                prec._method = (MethodDef)_method.Clone();
            }
        }
Example #4
0
        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();
            }
        }