コード例 #1
0
ファイル: ExecuteAction.cs プロジェクト: nasa03/Jasonity
        public ExecuteAction Clone()
        {
            ExecuteAction ae = new ExecuteAction((Pred)action.Clone(), intention.Clone());

            ae.result = result;
            return(ae);
        }
コード例 #2
0
ファイル: ExecuteAction.cs プロジェクト: nasa03/Jasonity
        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));
        }