public override object Clone() { var n = new Conditional(Condition); if (Success != null) { n.Success = Success.Clone() as Node; } if (Failure != null) { n.Failure = Failure.Clone() as Node; } return(n); }
public override object Clone() { var n = new Conditional(Condition); if (Success != null) { n.Success = Success.Clone() as Node; } if (Failure != null) { n.Failure = Failure.Clone() as Node; } return(n); }