Module technology.sola.engine
Package technology.sola.engine.assets
Class BulkAssetLoader.BulkAssetHandle
java.lang.Object
technology.sola.engine.assets.BulkAssetLoader.BulkAssetHandle
- Enclosing class:
- BulkAssetLoader
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 Summary
Modifier and TypeMethodDescriptionvoidonComplete(Consumer<Asset[]> callback) Method called when bulk asset loading has completed.
-
Method Details
-
onComplete
Method called when bulk asset loading has completed. The array ofAssets that were loaded are passed into the callback.- Parameters:
callback- called when loading finished with the loaded assets.
-