HeightMapPersistence() { LogFile logfile = LogFile.GetInstance(); logfile.WriteLine("HeightMapPersistence"); CSAI csai = CSAI.GetInstance(); CSAI.VoiceCommandHandler handler = new CSAI.VoiceCommandHandler(this.SaveHandler); logfile.WriteLine("csai == null? " + (csai == null).ToString()); logfile.WriteLine("handler == null? " + (handler == null).ToString()); csai.RegisterVoiceCommand("saveheightmap", handler); }
HeightMapPersistence() { LogFile logfile = LogFile.GetInstance(); logfile.WriteLine("HeightMapPersistence"); CSAI csai = CSAI.GetInstance(); CSAI.VoiceCommandHandler handler = new CSAI.VoiceCommandHandler(this.SaveHandler); logfile.WriteLine("csai == null? " + (csai == null).ToString()); logfile.WriteLine("handler == null? " + (handler == null).ToString()); csai.RegisterVoiceCommand("saveheightmap", handler); }