Example #1
0
 public OpheliaInterface(MainWindow m)
 {
     this.ui = m;
     this.t = MainWindow.MessageType.Ophelia;
     this.core = new OpheliaCore();
     this.core.OnThinkingFinished += new OpheliaCore.ThinkingFinishedEventHandler(OpheliaFinishedThinking);
     new Thread(SayHelloAsync).Start();
 }
Example #2
0
 private void OpheliaFinishedThinking(object sender, OpheliaCore.ThinkingFinishedEventArgs e)
 {
     this.ui.SetInputActive(true);
 }