Esempio n. 1
0
        protected override void CloneProperties(Node newnode)
        {
            base.CloneProperties(newnode);

            Task right = (Task)newnode;

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

            SequenceStochastic prec = (SequenceStochastic)newnode;

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

            SelectorProbability prec = (SelectorProbability)newnode;

            if (_method != null)
            {
                prec._method = (MethodDef)_method.Clone();
            }
        }
Esempio n. 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();
            }
        }