Class BinaryFlumpLoader

java.lang.Object
tripleplay.flump.BinaryFlumpLoader

public class BinaryFlumpLoader extends Object
Loads our flump library from a binary representation.
  • Constructor Details

    • BinaryFlumpLoader

      public BinaryFlumpLoader()
  • Method Details

    • loadLibrarySync

      public static Library loadLibrarySync(Platform plat, String baseDir) throws Exception
      Loads a binary encoded library synchronously via PlayN assets.
      Throws:
      Exception
    • loadLibrary

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