Exemplo n.º 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();
 }
Exemplo n.º 2
0
 private void OpheliaFinishedThinking(object sender, OpheliaCore.ThinkingFinishedEventArgs e)
 {
     this.ui.SetInputActive(true);
 }