Package tripleplay.flump
Class BinaryFlumpLoader
java.lang.Object
tripleplay.flump.BinaryFlumpLoader
Loads our flump library from a binary representation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic react.RFuture<Library>
loadLibrary
(Platform plat, String baseDir) Loads a binary encoded library via PlayN assets.static Library
loadLibrarySync
(Platform plat, String baseDir) Loads a binary encoded library synchronously via PlayN assets.
-
Constructor Details
-
BinaryFlumpLoader
public BinaryFlumpLoader()
-
-
Method Details
-
loadLibrarySync
Loads a binary encoded library synchronously via PlayN assets.- Throws:
Exception
-
loadLibrary
Loads a binary encoded library via PlayN assets.- Parameters:
baseDir
- The base directory, containing library.bin and texture atlases.
-