/// <summary> /// The shark hunts another animal /// </summary> /// <param name="prey">The hunted animal</param> public void Hunt(Ihuntable prey) { Console.WriteLine($"The shark has hunted the {prey}"); }
/// <summary> /// The bear hunts another animal /// </summary> /// <param name="prey">The animal to be hunted</param> public void Hunt(Ihuntable prey) { Console.WriteLine($"The bear hunts the {prey}"); }