Module.js 168 B

12345678910111213141516
  1. class Module {
  2. constructor(){
  3. this.enabled = false;
  4. }
  5. enable() {
  6. this.enabled = true;
  7. }
  8. disabled() {
  9. this.enabled = false;
  10. }
  11. }
  12. module.exports = Module;