C# Class Engine.GlobalScripts

Show file Open project: Radnen/sphere-sfml

Public Methods

Method Description
BindToEngine ( ScriptEngine engine ) : void
RequireScript ( string filename ) : void
RunCode ( Jurassic.StringScriptSource source ) : void

Private Methods

Method Description
EvaluateScript ( string filename ) : void
EvaluateSystemScript ( string filename ) : void
RequireSystemScript ( string filename ) : void

Method Details

BindToEngine() public static method

public static BindToEngine ( ScriptEngine engine ) : void
engine ScriptEngine
return void

RequireScript() public static method

public static RequireScript ( string filename ) : void
filename string
return void

RunCode() public static method

public static RunCode ( Jurassic.StringScriptSource source ) : void
source Jurassic.StringScriptSource
return void