Reconfigure module

This commit is contained in:
Skylar Grant 2024-08-21 21:18:43 -04:00
parent 9e543989b8
commit 24470fe6f2
1 changed files with 90 additions and 87 deletions

View File

@ -1,4 +1,6 @@
export class State {
module.exports = {
// State class
State: class State {
constructor(config) {
this.igniter = {
on: false,
@ -38,9 +40,9 @@ export class State {
};
console.log(`State initialized.`)
};
};
export class Communicator {
},
// Communicator class
Communicator: class Communicator {
constructor(state) {
this.publisher = state.publisher;
return this;
@ -91,3 +93,4 @@ export class Communicator {
});
}
}
};