should be static classes for json deserialization

This commit is contained in:
Gered 2014-04-16 10:24:23 -04:00
parent 01587bcb3d
commit 432923f82a

View file

@ -6,7 +6,7 @@ import com.badlogic.gdx.math.Vector3;
import java.util.ArrayList; import java.util.ArrayList;
public class JsonTileMesh { public class JsonTileMesh {
public class CubeTextures { public static class CubeTextures {
public int top; public int top;
public int bottom; public int bottom;
public int front; public int front;
@ -15,7 +15,7 @@ public class JsonTileMesh {
public int right; public int right;
} }
public class SubModels { public static class SubModels {
public String submodel; public String submodel;
public Color color; public Color color;
public Vector3 scaleToSize; public Vector3 scaleToSize;