import { LoadedMachineConfiguration } from "../../src/types"; import { StateMachine } from "../../src/state-machines/state-machine"; export class VR_SUPPORT_MOVE_STATE_MACHINE extends StateMachine { constructor(options: LoadedMachineConfiguration) { const { context } = options; super([ { "context": { "errorCounter": 0, ...context }, "id": "VR_SUPPORT_MOVE", "initial": "ready", "states": { "ERROR_DETECTED": { "exit": [], "meta": { "CA": { "utterance": "DESCRIBE_STOP_MOVE" } }, "on": { "INSTANT": "IDLE" }, "type": "" }, "IDLE": { "exit": [], "meta": {}, "on": { "STOP_MOVE_SIGHT": "ERROR_DETECTED", "STOP_MOVE_TRIGGER": "ERROR_DETECTED" }, "type": "" }, "end": { "exit": [], "meta": { "VR": [ { "name": "task_completed" } ] }, "on": { "INSTANT": "end" }, "type": "final" }, "ready": { "exit": [], "meta": {}, "on": { "READY": "IDLE" }, "type": "" } } }, { actions: {}, guards: {} } ]); } }