mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-05 15:58:38 +07:00
Added AssetManager#unloadAll(AssetDesc[]) to help with batch unloading
This commit is contained in:
@ -240,6 +240,12 @@ public final class AssetManager implements Disposable {
|
||||
}
|
||||
}
|
||||
|
||||
public void unloadAll(AssetDesc[] assets) {
|
||||
for (AssetDesc asset : assets) {
|
||||
if (asset != null) unload(asset);
|
||||
}
|
||||
}
|
||||
|
||||
public void sync(final long timeoutMillis) {
|
||||
log.debug("Syncing...");
|
||||
SyncMessage msg;
|
||||
|
Reference in New Issue
Block a user