internal AccessorySlotLayer() : base("Avalon:AccessorySlotLayer") { Instance = this; for (int i = 0; i < slots.Length; i++) slots[i] = new ExtraAccessorySlot(i) { position = new Vector2(Main.screenWidth - 235f - i / 3 * 96f, 364f + (i % 3) * 48f) }; Slots = new Items(); }
internal AccessorySlotLayer() : base("Avalon:AccessorySlotLayer") { Instance = this; for (int i = 0; i < slots.Length; i++) { slots[i] = new ExtraAccessorySlot(i) { position = new Vector2(Main.screenWidth - 235f - i / 3 * 96f, 364f + (i % 3) * 48f) } } ; Slots = new Items(); }