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