public override ISimpleTask Clone() { var clone = new RecruitTask(RecruitFromStack, Side, RemoveFromStack); clone.Copy(this); return(clone); }
public override ISimpleTask Clone() { RecruitTask clone = _conditions == null ? new RecruitTask(RecruitFromStack, Side, RemoveFromStack) : new RecruitTask(_conditions); clone.Copy(this); return(clone); }