replaceState(oldState, newState) {
    return new ContinueState(State.replaceStateId(this.id, oldState, newState),
                                                  this.label);
  }
@param {number} oldState
@param {number} newState
@return {ContinueState}