reset method

void reset()

Sets the state to a well known state: the start state or the state of the last call of setStart()

Implementation

void reset() {
  restoreState(resetState);
}