public GameManager() { this.fm = new FileManager (); this.parser = new Parser ("Novel"); this.imageManager = NovelSingleton.ImageManager; this.scenarioManager = NovelSingleton.ScenarioManager; this.statusManager = NovelSingleton.StatusManager; this.audioManager = NovelSingleton.AudioManager; this.eventManager = NovelSingleton.EventManager; this.saveManager = NovelSingleton.SaveManager; this.logManager = new LogManager (); }
//[DllImport("user32.dll", EntryPoint = "FindWindow")] //private static extern bool SetWindowText(IntPtr hWnd, System.String lpString); //[DllImport("user32.dll", EntryPoint = "FindWindow")] //private static extern IntPtr FindWindow(System.String className, System.String windowName); public GameManager() { //var w = FindWindow("UnityWndClass", null); //if (w != IntPtr.Zero) //{ // var wnd = Form.FromHandle(w); // if (null != wnd) wnd.Text = "キュアぷらす スクリプトデバッガ"; //} //SetWindowText(w, "キュアぷらす スクリプトデバッガ"); this.fm = new FileManager(new FileLoader()); this.parser = new Parser ("Novel"); this.imageManager = NovelSingleton.ImageManager; this.scenarioManager = NovelSingleton.ScenarioManager; this.statusManager = NovelSingleton.StatusManager; this.audioManager = NovelSingleton.AudioManager; this.eventManager = NovelSingleton.EventManager; this.saveManager = NovelSingleton.SaveManager; this.logManager = new LogManager (); //var fl=System.Windows.Forms.Application.OpenForms; //var ff = fl[0]; }