@Override
	public void draw(Graphics2D g) {
		super.draw(g);

		g.drawString(""+Loading.index , 10, 10);
		
		//inventory space
		g.drawImage(img.getSubimage(0, 63, 200, 18), 150, GamePanel.HEIGHT - 25, null);
		
		for(int slot = 0; slot < player.getMaxSlots(); slot++){
			ItemStack stack = player.getStackInSlot(slot);
			if(stack != null)
				stack.getItem().draw(g, 165+ (17*slot), (GamePanel.HEIGHT - 24), stack);
		}

	}