/// <summary> /// Hatches an egg. /// </summary> /// <param name="egg">The egg to hatch.</param> private void HatchEgg(IHatchable egg) { // Hatch the egg. egg.Hatch(); }
/// <summary> /// Hatches a baby out of its egg. /// </summary> /// <param name="egg">The egg to hatch.</param> private void HatchEgg(IHatchable egg) { egg.Hatch(); }