diff --git a/dialog.js b/dialog.js new file mode 100644 index 0000000..12850e9 --- /dev/null +++ b/dialog.js @@ -0,0 +1,18 @@ +"use strict"; + +function DialogNode { + this.text = "Foo bar baz."; + this.hooks = []; + + this.visit = function() { + for (let i=0; i