static void Main(string[] args) { Owner owner = new Owner(); Safe safe = new Safe(); Locksmith locksmith = new Locksmith(); locksmith.OpenSafe(safe, owner); JewelThief thief = new JewelThief(); thief.OpenSafe(safe, owner); Console.ReadKey(); }
public void PickLock(Locksmith lockpicker) { lockpicker.WriteDownCombination(safeCombination); }