Class BulkAssetLoader.BulkAssetHandle

java.lang.Object
technology.sola.engine.assets.BulkAssetLoader.BulkAssetHandle
Enclosing class:
BulkAssetLoader

public static class BulkAssetLoader.BulkAssetHandle extends Object
BulkAssetHandle holds the collection of Assets that have been loaded by a BulkAssetLoader. These are accessed via the onComplete method where callbacks can be added.
  • Method Details

    • onComplete

      public void onComplete(Consumer<Asset[]> callback)
      Method called when bulk asset loading has completed. The array of Assets that were loaded are passed into the callback.
      Parameters:
      callback - called when loading finished with the loaded assets.