import { LoadedMachineConfiguration } from "../../src/types"; import { StateMachine } from "../../src/state-machines/state-machine"; export class VR_TUTORIAL_MOVE_STATE_MACHINE extends StateMachine { constructor(options: LoadedMachineConfiguration) { const { context } = options; super([ { "context": { "errorCounter": 0, ...context }, "id": "VR_TUTORIAL_MOVE", "initial": "ready", "states": { "TUTORIAL_GOAL": { "exit": [], "meta": { "CA": { "utterance": "MOVE_TO" } }, "on": { "MOVE(target)": "TUTORIAL_POSITIVE_REINFORCEMENT" }, "type": "" }, "TUTORIAL_HOW_MOVE": { "exit": [], "meta": { "CA": { "utterance": "DESCRIBE_MOVE" } }, "on": { "INSTANT": "TUTORIAL_GOAL" }, "type": "" }, "TUTORIAL_INTRO_MOVE": { "exit": [], "meta": { "CA": { "utterance": "TUTORIAL_INTRO_MOVE" } }, "on": { "INSTANT": "TUTORIAL_HOW_MOVE" }, "type": "" }, "TUTORIAL_POSITIVE_REINFORCEMENT": { "exit": [], "meta": { "CA": { "utterance": "TUTORIAL_POSITIVE_REINFORCEMENT" }, "VR": [ { "name": "task_completed" }, { "name": "positive_reinforcement" } ] }, "on": { "INSTANT": "end" }, "type": "" }, "end": { "exit": [], "meta": { "VR": [ { "name": "task_completed" } ] }, "on": { "INSTANT": "end" }, "type": "final" }, "ready": { "exit": [], "meta": {}, "on": { "READY": "TUTORIAL_INTRO_MOVE" }, "type": "" } } }, { actions: {}, guards: {} } ]); } }