public static ModInventoryMenu GetCopy(InventoryMenu invMenu, AdventurersGuildShopMenu inst)
            {
                IList <Item> actualInventory = new List <Item>(invMenu.actualInventory);


                var result = new ModInventoryMenu(invMenu.xPositionOnScreen, invMenu.yPositionOnScreen, invMenu.playerInventory, actualInventory, inst,
                                                  invMenu.capacity, invMenu.rows, invMenu.horizontalGap, invMenu.verticalGap, invMenu.drawSlots);

                return(result.ModifySlinghots());
            }
 public static ModSlingshot GetCopy(Slingshot slingshot, AdventurersGuildShopMenu inst)
 {
     return(new ModSlingshot(slingshot.InitialParentTileIndex, slingshot.attachments, inst.Helper));
 }
 private ModInventoryMenu(int xPosition, int yPosition, bool playerInventory, IList <Item> actualInventory, AdventurersGuildShopMenu inst, int capacity, int rows, int horizontalGap, int verticalGap, bool drawSlots) : base(xPosition, yPosition, playerInventory, actualInventory, inst.HighlightItemToSell, capacity, rows, horizontalGap, verticalGap, drawSlots)
 {
     this.inst = inst;
 }