/// class DialogueNodeTree extends DialogueNode { public type = NodeType.Tree; public tree : () => DialogueTree; public setTree (treeFinder : () => DialogueTree) { this.tree = treeFinder; } }