"use strict";
cc._RF.push(module, '6e2a4PJyw1Ktaa7PnoVl9D4', 'SingleBase');
// scripts/list/SingleBase.ts

"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.SingleBase = void 0;
var SingleBase = /** @class */ (function (_super) {
    __extends(SingleBase, _super);
    function SingleBase() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    SingleBase.getInstance = function () {
        if (!this.instance) {
            this.instance = new this();
            this.instance.init();
        }
        return this.instance;
    };
    SingleBase.deleteInstance = function () {
        if (this.instance) {
            this.instance.clear();
            delete this.instance;
        }
    };
    SingleBase.prototype.init = function (name) {
        var args = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            args[_i - 1] = arguments[_i];
        }
        return this;
    };
    SingleBase.prototype.clear = function () {
    };
    return SingleBase;
}(cc.EventTarget));
exports.SingleBase = SingleBase;

cc._RF.pop();