Ejemplo n.º 1
0
 public void OnRunCompleted(AsynchronousDialogueItemEventArgs e)
 {
     if (RunCompleted != null)
     {
         EventHandler <AsynchronousDialogueItemEventArgs> handler = RunCompleted;
         handler(this, e);
     }
 }
Ejemplo n.º 2
0
        protected override void RunLoop(List <object> parameterList)
        {
            string originalContext = ownerAgent.WorkingMemory.CurrentContext;

            Thread.Sleep(millisecondWaitingTime);
            AsynchronousDialogueItemEventArgs e = new AsynchronousDialogueItemEventArgs(originalContext, outputAction.TargetContext, outputAction.TargetID);

            OnRunCompleted(e);
        }