Class JsonLoader

java.lang.Object
tripleplay.flump.JsonLoader

public class JsonLoader extends Object
  • Constructor Details

    • JsonLoader

      public JsonLoader()
  • Method Details

    • loadLibrarySync

      public static Library loadLibrarySync(Platform plat, String baseDir) throws Exception
      Loads a JSON encoded library synchronously.
      Parameters:
      baseDir - The base directory, containing library.json and texture atlases.
      Throws:
      Exception
    • loadLibrary

      public static react.RFuture<Library> loadLibrary(Platform plat, String baseDir)
      Loads a JSON encoded library.
      Parameters:
      baseDir - The base directory, containing library.json and texture atlases.