I'm not sure if I'm using getUnviX() method correctly. I have a method that creates ground along the bottom of the world, it should start from the beginning to the end of the scrolling world. For some reason it produces this:
https://www.dropbox.com/s/17t5s0cdnpkvkz9/Capture.png
Here's my ground adding code:
protected void addGround()
{
int x = getUnivX(24); //Am I using this correctly?
for(Ground g : newGround()) //new Ground() makes an ArrayList of Ground
{
addObject(g, x, getHeight() - 24, true);
x += 48;
}
}

