@@ -132,6 +132,10 @@ class Story {
|
|||||||
return story;
|
return story;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function addVariable(name:String, val:Dynamic) {
|
||||||
|
hInterface.addVariable(name, val);
|
||||||
|
}
|
||||||
|
|
||||||
public static function FromFile(script:String, ?files:PreloadedFiles, ?randomSeed:Int):Story {
|
public static function FromFile(script:String, ?files:PreloadedFiles, ?randomSeed:Int):Story {
|
||||||
var parser = new Parser();
|
var parser = new Parser();
|
||||||
var ast = parser.parseFile(script, files);
|
var ast = parser.parseFile(script, files);
|
||||||
|
|||||||
Reference in New Issue
Block a user