static void Main(string[] args) { Owner owner = new Owner(); Safe safe = new Safe(); JewelThief jewelTheif = new JewelThief(); jewelTheif.OpenSafe(safe, owner); Console.ReadKey(); }
public void ReturnContents(Jewels safeContents, Owner owner) { stolenJewels = safeContents; Console.WriteLine("Kradnę zawartość sejfu! {0}", stolenJewels.Sparkle()); }