Example #1
0
 public override void initStates()
 {
     readyToSendOrder      = new ReadyToSendOrder(this);
     waitingForAcknowledge = new WaitingForAcknowledge(this);
     UseScheduler          = true;
     currentState          = readyToSendOrder;
 }
Example #2
0
 public override void initStates()
 {
     waitingForTask  = new WaitingForTask(this);
     waitingForOrder = new WaitingForOrder(this);
     working         = new Working(this);
     WaitForTask();
 }
Example #3
0
 public override void initStates()
 {
     lookingForMissingSubscriber = new LookingForMissingSubscriber(this);
     receivingHeartbeat          = new ReceivingHeartbeat(this);
     currentState = receivingHeartbeat;
     UseScheduler = true;
 }
Example #4
0
 public override void initStates()
 {
     movement     = new Moving(this);
     waiting      = new Waiting(this);
     UseScheduler = true;
     currentState = waiting;
 }
Example #5
0
 public override void initStates()
 {
     subscribing  = new Subscribing(this);
     currentState = subscribing;
 }