static void Main(string[] args) { List <string> equipment = new List <string> { "plecak", "latarka", "nóż", "sznurek", "kompas", }; GameCharacter originator = new GameCharacter("Lara Kravt", 0, 0, 1, equipment); Caretaker caretaker = new Caretaker(originator); caretaker.Backup(); originator.AddEquipment("buty"); originator.AddEquipment("kurtka"); originator.RemoveEquipment("kompas"); caretaker.Backup(); originator.AddEquipment("mapa"); Console.WriteLine(); caretaker.ShowEquipmentHistory(); Console.WriteLine(); caretaker.UndoEquipment(); Console.WriteLine(); caretaker.UndoEquipment(); Console.WriteLine(); Console.WriteLine("W historii mamy jeszcze następujące wpisy:"); caretaker.ShowEquipmentHistory(); Console.Read(); }