package client.gui.container;

import common.entity.npc.EntityNPC;

public class GuiInventory extends GuiContainer
{
//    private final GuiCheat cheat;
//    private float oldMouseX;
//    private float oldMouseY;

    public GuiInventory(EntityNPC player)
    {
        super(player.inventoryContainer);
//        this.allowUserInput = true;
//        this.cheat = cheat;
    }
    
//    public void updateScreen()
//    {
//        this.updateActivePotionEffects();
//    }
    
//    public void initGui()
//    {
////        this.buttonList.clear();
//        super.initGui();
//        if(this.cheat != null)
//        	this.buttonList.add(new Button(1, this.guiLeft + this.xSize - 16, this.guiTop + 4, 12, 12, "X"));
//    }
    
    public void drawGuiContainerForegroundLayer()
    {
        this.drawString("Handwerk", 86, 16);
    }
    
//    public void drawScreen(int mouseX, int mouseY, float partialTicks)
//    {
//        super.drawScreen(mouseX, mouseY, partialTicks);
//        this.oldMouseX = (float)mouseX;
//        this.oldMouseY = (float)mouseY;
//    }
    
//    protected void drawGuiContainerBackgroundLayer(int mouseX, int mouseY)
//    {
//        GlState.color(1.0F, 1.0F, 1.0F, 1.0F);
//        this.gm.getTextureManager().bindTexture(inventoryBackground);
//        int i = this.guiLeft;
//        int j = this.guiTop;
////        this.rect(i, j, 0, 0, this.xSize, this.ySize);
////        drawEntityOnScreen(i + 51, j + 75, 30, (float)(i + 51) - this.oldMouseX, (float)(j + 75 - 50) - this.oldMouseY, this.gm.thePlayer);
//    }
    
//    public void actionPerformed(int button)
//    {
//        if(button == 1 && this.cheat != null && this.gm.thePlayer.inventory.getItemStack() == null)
//            this.gm.displayGuiScreen(this.cheat);
//    }
}
