this.xPosition = xPosition;
this.yPosition = yPosition;
this.position = position;
+ //setIsReferenceArea(true); // Should always be true!
}
public void render(Renderer renderer) {
}
public int getXPosition() {
- return xPosition + getPaddingLeft() + getBorderLeftWidth();
+ //return xPosition + getPaddingLeft() + getBorderLeftWidth();
+ return xPosition ;
}
public void setXPosition(int value) {
}
public int getYPosition() {
- return yPosition + getPaddingTop() + getBorderTopWidth();
+ //return yPosition + getPaddingTop() + getBorderTopWidth();
+ return yPosition ;
}
public int getCurrentYPosition() {
public void setYPosition(int value) {
yPosition = value;
}
+
+ public void shiftYPosition(int value) {
+ yPosition += value;
+ }
}