function Resource(width, height) {
        if (width === void 0) { width = 0; }
        if (height === void 0) { height = 0; }
        this._width = width;
        this._height = height;
        this.destroyed = false;
        this.internal = false;
        this.onResize = new _pixi_runner__WEBPACK_IMPORTED_MODULE_4__.Runner('setRealSize');
        this.onUpdate = new _pixi_runner__WEBPACK_IMPORTED_MODULE_4__.Runner('update');
        this.onError = new _pixi_runner__WEBPACK_IMPORTED_MODULE_4__.Runner('onError');
    }
@param width - Width of the resource
@param height - Height of the resource