src/app/core/application/state.js
import { APP_STATE } from "../enums/app-state-enum";
class State {
constructor() {
this._currentState = APP_STATE.NONE;
}
getCurrentState() {
return this._currentState;
}
setState(state) {
this._currentState = state;
}
}
export const state = new State();