public AdventureScriptEngine() { this.scriptEngine = new ScriptEngine(); this.scriptEngine.SetExternalCommand(new Func <string[], bool>(this.ReceiveCommandParameter)); this.commandList = new Dictionary <string, AdventureBaseCommand>(); this.scriptState = AdventureScriptEngine.ScriptState.INIT; this.finishScript = false; }
public void SetScriptState(AdventureScriptEngine.ScriptState state) { this.scriptState = state; }