Exemple #1
0
 public BvrRepeat(bool restartOnEnter, int repeatCount, StateEx stateEx, GSM_State state, Func <bool> isDone)
 {
     this.restartOnEnter = restartOnEnter;
     this.repeatCount    = repeatCount;
     this.curRepeatCount = 0;
     this.stateEx        = stateEx ?? new StateEx();
     this.state          = state;
     this.isDone         = isDone;
 }
Exemple #2
0
 public BvrSingle(StateEx stateEx, GSM_State state, Func <bool> isDone)
 {
     this.stateEx = stateEx ?? new StateEx();
     this.state   = state;
     this.isDone  = isDone;
 }