* Decodes and returns a library asynchronously.
*/
protected static void decodeLibraryAsync (Json.Object json, final Assets assets, String baseDir,
Callback<Library> callback)
{
decodeLibrary(json, baseDir, callback, new ImageLoader() {
@Override public Image load (String path) {
return assets.getImage(path);
}
});
}