예제 #1
0
        private void DoProcedure(CProcedure _procedure) {
            bProcessing = true;
            _procedure.Setup(this, scanner, interaction, ocr);

            this.procCurrent = _procedure;
        }
예제 #2
0
 public void ProcedureComplete(CProcedure _procedure) {
     bProcessing = false;
     if (qProcedures.Count != 0) {
         QueueProcedure(qProcedures.Dequeue());
     } else {
         Console.WriteLine("Script complete.");
         StopBot();
     }
 }
예제 #3
0
 public void QueueProcedure(CProcedure _procedure) {
     qProcedures.Enqueue(_procedure);
 }