DialogueNodeTree.ts 253 B

123456789
  1. /// <reference path="DialogueNode.ts" />
  2. class DialogueNodeTree extends DialogueNode {
  3. public type = NodeType.Tree;
  4. public tree : () => DialogueTree;
  5. public setTree (treeFinder : () => DialogueTree) {
  6. this.tree = treeFinder;
  7. }
  8. }