Package mekanism.client.gui

Examples of mekanism.client.gui.GuiMekanism


  @Override
  public boolean hideItemPanelSlot(GuiContainer gui, int x, int y, int width, int height)
  {
    if(gui instanceof GuiMekanism)
    {
      GuiMekanism guiMek = (GuiMekanism)gui;
     
      Rectangle4i rect = new Rectangle4i(x, y, width, height);
     
      for(GuiElement element : guiMek.guiElements)
      {
        if(element.getBounds(guiMek.getXPos(), guiMek.getYPos()).intersects(rect))
        {
          return true;
        }
      }
    }
View Full Code Here

TOP

Related Classes of mekanism.client.gui.GuiMekanism

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.