Package forestry.core.gui.widgets

Examples of forestry.core.gui.widgets.SocketWidget


  public GuiFarm(EntityPlayer player, TileFarmPlain tile) {
    super(Defaults.TEXTURE_PATH_GUI + "/mfarm.png", new ContainerFarm(player.inventory, tile), tile);

    widgetManager.add(new TankWidget(widgetManager, 15, 19, 0).setOverlayOrigin(216, 18));

    widgetManager.add(new SocketWidget(widgetManager, 69, 40, tile, 0));

    widgetManager.add(new FarmLogicSlot(widgetManager, 69, 22, 0));
    widgetManager.add(new FarmLogicSlot(widgetManager, 69, 58, 1));
    widgetManager.add(new FarmLogicSlot(widgetManager, 51, 40, 2));
    widgetManager.add(new FarmLogicSlot(widgetManager, 87, 40, 3));
View Full Code Here


public class GuiEngineTin extends GuiEngine {

  public GuiEngineTin(InventoryPlayer inventory, EngineTin tile) {
    super(Defaults.TEXTURE_PATH_GUI + "/electricalengine.png", new ContainerEngineTin(inventory, tile), tile);
    widgetManager.add(new SocketWidget(this.widgetManager, 30, 40, tile, 0));
  }
View Full Code Here

TOP

Related Classes of forestry.core.gui.widgets.SocketWidget

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.