Dialog System - Interaction tree and manager
Interaction tree
- An interaction tree is a set of interaction nodes. The tree will handle the execution.
Interaction Node
- An interaction node is an abstract node with a text, an ID and an execute() function.
- Needed Nodes ⋅⋅* Text Node ⋅⋅* Question Node ⋅⋅* Set Flag Node ⋅⋅* End Tree Node ⋅⋅* Jump To Node Node ⋅⋅* If Node (Check the state of a flag)
Interaction Tree Manager - Singleton
- This manager will store the Interaction tree and will be able to launch them.
- Only one tree runnable at the same time.