Closed tmedwards closed 2 months ago
So Dialog.wikiPassage(name)
would replace the need for doing Dialog.wiki(Story.get(name).processText())
?
Correct.
Edited opening post.
Notably, added Dialog.create()
to the additions, as a replacement for Dialog.setup()
. The only difference being the returned value, so you can chain all the way through. E.g.:
Dialog
.create('Inventory', 'inventory')
.wikiPassage('PC Inventory')
.open();
Add new
Dialog
static methods:Deprecate existing
Dialog
static methods:Dialog.setup()
in favor ofDialog.create()
.