internal ManagerProxyBinder(EditorState editorState) { this.editorState = editorState; proxyDelegateManager.AddTraceDelegate(TraceMessage); proxyDelegateManager.SetD1PigPathDelegate(() => editorState.Prefs.D1PIGPath); proxyDelegateManager.SetD2PigPathDelegate(() => editorState.Prefs.D2PIGPath); proxyDelegateManager.SetChangeD2PigPathDelegate((newPath) => editorState.Prefs.D2PIGPath = newPath); proxyDelegateManager.SetMissionFolderDelegate(() => editorState.Prefs.LevelsPath); proxyDelegateManager.SetMineMoveRateDelegate(() => editorState.Prefs.MoveRate); }