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

@@ -86,4 +86,24 @@ public abstract class DelegatingElement implements GuiElement {
public int height() {
return delegate().height();
}
@Override
public void xPos(int x) {
delegate().xPos(x);
}
@Override
public void yPos(int y) {
delegate().yPos(y);
}
@Override
public void width(int width) {
delegate().width(width);
}
@Override
public void height(int height) {
delegate().height(height);
}
}