public class BackgroundElement
extends java.lang.Object
Constructor and Description |
---|
BackgroundElement(int mainX,
int mainY,
Renderable sprite) |
Modifier and Type | Method and Description |
---|---|
int |
getMainX() |
int |
getMainY() |
float |
getOffsetX() |
float |
getOffsetY() |
Renderable |
getSprite() |
void |
setOffsetX(float offsetX) |
void |
setOffsetY(float offsetY) |
public BackgroundElement(int mainX, int mainY, Renderable sprite)
public Renderable getSprite()
public int getMainX()
public int getMainY()
public float getOffsetX()
public float getOffsetY()
public void setOffsetX(float offsetX)
public void setOffsetY(float offsetY)