change x and z to be public final instead of private with getters

This commit is contained in:
James Seibel
2020-09-28 20:17:39 -05:00
parent 6f1bbe52b1
commit 5fd6d9fcec
@@ -12,9 +12,9 @@ package backsun.lod.objects;
public class LodRegion
{
/** X coordinate of this region */
private int x;
public final int x;
/** Z coordinate of this region */
private int z;
public final int z;
public LodChunk data[][];
@@ -26,17 +26,4 @@ public class LodRegion
data = new LodChunk[32][32];
}
public int getX()
{
return x;
}
public int getZ()
{
return z;
}
}