Пример #1
0
        public ActionSequence Clone()
        {
            var result = new ActionSequence();

            foreach (iAction action in history)
            {
                result.Add(action);
            }
            return(result);
        }
Пример #2
0
 public SearchNode(iDomain _state, ActionSequence _history = null)
 {
     state = _state;
     if (_history != null)
     {
         history = _history;
     }
     else
     {
         history = new ActionSequence();
     }
 }