add destructor to objects and character, remove objects in inventory