setReachedLevel method

void setReachedLevel (int reachedLevel)

Sets the _reachedLevel member variable and the according value in the local storage.

Implementation

void setReachedLevel(int reachedLevel) {
  this._localStorage[_reachedLevelKey] = reachedLevel.toString();
  this._reachedLevel = reachedLevel;
}