public InventoryStorage copy()
        {
            InventoryStorage storage = new InventoryStorage();

            foreach (InventoryItem item in items)
            {
                InventoryItem copyItem = item.copy();
                storage.addItem(copyItem);
            }

            return(storage);
        }
        public InventoryStorage loadInventoryStorage(XmlNode inventoryNode)
        {
            InventoryStorage storage = new InventoryStorage();

            Gun pistol = new Gun(lhg, "pistol", ".22 Pistol", 1, false, 12, 1, 2);

            pistol.Initialize();
            storage.addItem(pistol);

            Bullet bullet = new Bullet(lhg, "bullet", "Bullet", pistol);

            bullet.Initialize();
            bullet.Count = 6;
            storage.addItem(bullet);

            pistol.MyAmmo = bullet;
            return(storage);
        }