public override void ReturnContents(Jewels safeContents, Owner owner) { _stolenJewels = safeContents; Console.WriteLine("Ha-ha! I steal jewels!" + _stolenJewels.Sparkle()); }
public virtual void ReturnContents(Jewels safeContetns, Owner owner) { owner.ReceivedContents(safeContetns); }
public void ReceivedContents(Jewels safeContents) { _returnedContents = safeContents; Console.WriteLine("Thx for returning my jewels " + safeContents.Sparkle()); }