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

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