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; }
public BvrSingle(StateEx stateEx, GSM_State state, Func <bool> isDone) { this.stateEx = stateEx ?? new StateEx(); this.state = state; this.isDone = isDone; }