Example #1
0
 /// <summary>
 /// Creates a new instance of ScriptEngine.
 /// </summary>
 /// <param name="Settings">The settings associated to the script engine.</param>
 /// <param name="scriptcheckinterval">The interval between each script update.</param>
 public ScriptEngine(ScriptSettings Settings, int scriptcheckinterval)
 {
     this.checkInterval = scriptcheckinterval;
     this.Settings      = Settings;
     scriptCollection   = new ScriptCollection(Settings);
     //scriptCheckerThread = new ProjectX_V3_Lib.Threading.BaseThread(new Threading.ThreadAction(Check_Updates),
     //         scriptcheckinterval, "Script Engine");
     //scriptCheckerThread.Start();
 }
Example #2
0
 /// <summary>
 /// Creates a new instance of ScriptEngine.
 /// </summary>
 /// <param name="Settings">The settings associated to the script engine.</param>
 /// <param name="scriptcheckinterval">The interval between each script update.</param>
 public ScriptEngine(ScriptSettings Settings, int scriptcheckinterval)
 {
     this.checkInterval = scriptcheckinterval;
     this.Settings = Settings;
     scriptCollection = new ScriptCollection(Settings);
     //scriptCheckerThread = new ProjectX_V3_Lib.Threading.BaseThread(new Threading.ThreadAction(Check_Updates),
                                                           //         scriptcheckinterval, "Script Engine");
     //scriptCheckerThread.Start();
 }