package com.lucasdnd.ags.ui.popup;
public abstract class Popup {
// Position
protected float xPos;
protected float yPos;
protected float xOffset;
protected float yOffset;
protected float localXOffset;
protected float localYOffset;
protected float leftMargin;
protected float width;
protected float height;
// Helps centralizing the popup over a Character
protected float entityWidth;
protected float entityHeight;
// Visibility
protected boolean visible;
protected int displayTime;
protected int displayTimeLimit;
public boolean isVisible() {
return visible;
}
public void setVisible(boolean visible) {
this.visible = visible;
}
public float getxPos() {
return xPos;
}
public void setxPos(float xPos) {
this.xPos = xPos;
}
public float getyPos() {
return yPos;
}
public void setyPos(float yPos) {
this.yPos = yPos;
}
public float getxOffset() {
return xOffset;
}
public void setxOffset(float xOffset) {
this.xOffset = xOffset;
}
public float getyOffset() {
return yOffset;
}
public void setyOffset(float yOffset) {
this.yOffset = yOffset;
}
public float getLocalXOffset() {
return localXOffset;
}
public void setLocalXOffset(float localXOffset) {
this.localXOffset = localXOffset;
}
public float getLocalYOffset() {
return localYOffset;
}
public void setLocalYOffset(float localYOffset) {
this.localYOffset = localYOffset;
}
public float getLeftMargin() {
return leftMargin;
}
public void setLeftMargin(float leftMargin) {
this.leftMargin = leftMargin;
}
public float getWidth() {
return width;
}
public void setWidth(float width) {
this.width = width;
}
public float getHeight() {
return height;
}
public void setHeight(float height) {
this.height = height;
}
}