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
Asset
s that have been loaded by a BulkAssetLoader
. These
are accessed via the onComplete method where callbacks can be added.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onComplete
(Consumer<Asset[]> callback) Method called when bulk asset loading has completed.
-
Method Details
-
onComplete
Method called when bulk asset loading has completed. The array ofAsset
s that were loaded are passed into the callback.- Parameters:
callback
- called when loading finished with the loaded assets.
-