public void ReceiveContents(Jewels safeContents)
 {
     _returnedContents = safeContents;
     Console.WriteLine("Thank you for returning my jewels!" + safeContents.Sparkle());
 }
Beispiel #2
0
 public override void ReturnContents(Jewels safeContents, Owner owner)
 {
     _stolenJewels = safeContents;
     Console.WriteLine("I'm stealing the contents! " + _stolenJewels.Sparkle());
 }