Added setters for Position and Size variables to GuiElement interface and implemented them

This commit is contained in:
CrushedPixel
2015-09-05 12:19:24 +02:00
parent a56d800d43
commit 78bb48b62f
10 changed files with 157 additions and 0 deletions

View File

@@ -112,4 +112,20 @@ public class GuiString extends Gui implements GuiElement {
public int height() {
return Minecraft.getMinecraft().fontRendererObj.FONT_HEIGHT;
}
@Override
public void xPos(int x) {
positionX = x;
}
@Override
public void yPos(int y) {
positionY = y;
}
@Override
public void width(int width) {}
@Override
public void height(int height) {}
}