Example #1
0
 public void MakeBaby(Dad d, string babyName)
 {
     Console.WriteLine($"{Name} made a Baby with {d.Name}");
     Child = new Baby(babyName);
     Child.AddComforter(Comfort);
     Child.AddComforter(d.EscapeToMexico);
 }
Example #2
0
 public void MakeBaby(Dad d, string babyName)
 {
     Console.WriteLine($"Mum {Name} made a Baby with Dad {d.Name}");
     Child = new Baby(babyName);
     Child.AddComforter(this);
     Child.AddComforter(d);
 }