public ExecuteAction Clone() { ExecuteAction ae = new ExecuteAction((Pred)action.Clone(), intention.Clone()); ae.result = result; return(ae); }
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)); }