[name]
A class capable of loading the Puzzles editor and visual logic code.
Constructor
[name]()
Properties
[property:String editorCSSFile]
Deprecated. A path to the Puzzles
editor's CSS file relative to the Puzzles' source folder (usually
it's the SDK's "puzzles/" folder). Default is "puzzles.css".
[property:String editorJSFile]
Deprecated. A path to the Puzzles
editor's JS file relative to the Puzzles' source directory (usually
it's the SDK's "puzzles/" folder). Default is "puzzles.min.js".
[property:String editorMediaDir]
Deprecated. A path to the Puzzles
editor's media folder relative to the Puzzles' source directory
(usually it's the SDK's "puzzles/" folder). Default is "media/".
[property:String libraryXML]
Deprecated. A path to the Puzzles
editor's library file relative to the Puzzles' source directory
(usually it's the SDK's "puzzles/" folder). Default is "library.xml".
Methods
[method:null loadEditorWithLogic](editorDir, logicURL, onLoad, onError)
Load the Puzzles editor and the logic file. The method needs to be
provided with the path to the Puzzles Editor's source folder (specified
by the editorDir parameter, usually it's the SDK's "puzzles/" folder)
and with the path to the logic JS file (logicURL parameter). The onLoad
callback can be used to load a scene after the editor and the logic
file were loaded.
[method:null loadLogic](logicURL, onLoad, onError)
Load the logic file. The onLoad callback can be used to load a scene
after the logic file was loaded.