Package gaiasky.data
Class SceneGraphJsonLoader
java.lang.Object
gaiasky.data.SceneGraphJsonLoader
Loads Gaia Sky JSON files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.badlogic.gdx.utils.Array<SceneGraphNode>
loadJsonFile
(com.badlogic.gdx.files.FileHandle jsonFile) static ISceneGraph
loadSceneGraph
(com.badlogic.gdx.files.FileHandle[] jsonFiles, ITimeFrameProvider time)
-
Constructor Details
-
SceneGraphJsonLoader
public SceneGraphJsonLoader()
-
-
Method Details
-
loadSceneGraph
public static ISceneGraph loadSceneGraph(com.badlogic.gdx.files.FileHandle[] jsonFiles, ITimeFrameProvider time) throws FileNotFoundException, com.badlogic.gdx.utils.reflect.ReflectionException - Throws:
FileNotFoundException
com.badlogic.gdx.utils.reflect.ReflectionException
-
loadJsonFile
public static com.badlogic.gdx.utils.Array<SceneGraphNode> loadJsonFile(com.badlogic.gdx.files.FileHandle jsonFile) throws com.badlogic.gdx.utils.reflect.ReflectionException, FileNotFoundException - Throws:
com.badlogic.gdx.utils.reflect.ReflectionException
FileNotFoundException
-