Class: DialogueParser

DialogueParser(sceneFilePath) → {DialogueParser}

new DialogueParser(sceneFilePath) → {DialogueParser}

Constructor for dialogue parser. Takes in the path to a scene file and loads it into memory.
Parameters:
Name Type Description
sceneFilePath PathToFile
Source:
Returns:
Type
DialogueParser

Methods

loadScene(sceneName) → {Array|Object}

Switches the currently displayed scene object within the file
Parameters:
Name Type Description
sceneName String
Source:
Returns:
Type
Array | Object