Esempio n. 1
0
        public ExecuteAction Clone()
        {
            ExecuteAction ae = new ExecuteAction((Pred)action.Clone(), intention.Clone());

            ae.result = result;
            return(ae);
        }
Esempio n. 2
0
        public override bool Equals(object ao)
        {
            if (ao == null)
            {
                return(false);
            }
            if (!(ao.GetType() == typeof(ExecuteAction)))
            {
                return(false);
            }
            ExecuteAction a = (ExecuteAction)ao;

            return(action.Equals(a.action));
        }