Fixes issue where the setX/YPosition functions weren't allowing negative coordinates.
@@ -496,11 +496,9 @@ public class TileGrid {
* The new coordinate.
*/
public void setXPosition(final int x) {
- if (x >= 0) {
position.x = x;
requiresRedraw = true;
}
- }
/**
* Sets the new y-axis coordinate of the grid within it's parent.
@@ -511,9 +509,7 @@ public class TileGrid {
* The new coordinate.
*/
public void setYPosition(final int y) {
- if (y >= 0) {
position.y = y;
requiresRedraw = true;
}
}
-}
