playcanvas
Version:
PlayCanvas WebGL game engine
22 lines (20 loc) • 422 B
JavaScript
class ResourceHandler {
constructor(app, handlerType){
this.handlerType = '';
this._maxRetries = 0;
this._app = app;
this.handlerType = handlerType;
}
set maxRetries(value) {
this._maxRetries = value;
}
get maxRetries() {
return this._maxRetries;
}
load(url, callback, asset) {}
open(url, data, asset) {
return data;
}
patch(asset, assets) {}
}
export { ResourceHandler };