Example #1
0
        internal Baby MakeBaby(Dad dad, string childName)
        {
            Child     = new Baby(childName);
            dad.Child = Child;
            Child.AddComforter(this);
            Child.AddComforter(dad);

            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine($"{Name} ha fatto un figlio con {dad.Name} che si chiama {Child.Name}");
            Console.ForegroundColor = ConsoleColor.Gray;
            return(Child);
        }