Also have the GuiElement for the ToolStation/Forge use the common base with the Stencil GuiElement.

This commit is contained in:
Bernhard Bonigl committed 2014-08-20 22:23:49 +02:00
1 parent bd997ab05e
commit 2e2c900f43
1 file changed
+2 -9
@@ -1,27 +1,20 @@
package tconstruct.library.client;
public class ToolGuiElement
public class ToolGuiElement extends GuiElement
{
public final int slotType;
public final int buttonIconX;
public final int buttonIconY;
public final int[] iconsX;
public final int[] iconsY;
public final String title;
public final String body;
public final String domain;
public final String texture;
public ToolGuiElement(int st, int bx, int by, int[] xi, int[] yi, String t, String b, String d, String tex)
{
super(bx, by, d, tex);
slotType = st;
buttonIconX = bx;
buttonIconY = by;
iconsX = xi;
iconsY = yi;
title = t;
body = b;
domain = d;
texture = tex;
}
}