public void OpenSafe(Safe safe, Owen owner) { safe.PickLock(this); Jewels safeContents = safe.Open(writtenDownCombination); ReturnedContents(safeContents, owner); }
override public void ReturnedContents(Jewels safeContents, Owen owen) { stolenJewels = safeContents; Console.WriteLine("I'm stealing the contents! " + stolenJewels.Sparkle()); }
public void ReceiveContents(Jewels safeContents) { returnedContents = safeContents; Console.WriteLine("Thank your for returning my jewels " + safeContents.Sparkle()); }
virtual public void ReturnedContents(Jewels safeContents, Owen owen) { owen.ReceiveContents(safeContents); }