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