"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Feature = void 0;
class Feature {
    constructor(name) {
        this.name = name;
        this.active = false;
    }
    getName() {
        return this.name;
    }
    isActive() {
        return this.active;
    }
    load(options) {
        this.active = true;
        this.onLoad(options);
    }
    unLoad() {
        this.active = false;
        this.onUnLoad();
    }
    onLoad(options) {
        // Empty function to be overwritten
    }
    onUnLoad() {
        // Empty function to be overwritten
    }
}
exports.Feature = Feature;
//# sourceMappingURL=Feature.js.map