super(device);
this.device = device;
addSlot(new SlotEnergy(device, 0, 8, 17));
addSlot(new SlotEnergy(device, 1, 8, 53));
addSlot(new SlotUpgrade(device, 2, 152, 8));
addSlot(new SlotUpgrade(device, 3, 152, 26));
addSlot(new SlotUpgrade(device, 4, 152, 44));
addSlot(new SlotUpgrade(device, 5, 152, 62));
for (int i = 0; i < 3; i++) {
for (int k = 0; k < 9; k++) {
addSlot(new Slot(inventoryplayer, k + i * 9 + 9, 8 + k * 18, 84 + i * 18));
}