private void onPushLevelProgress ( int steps , Object source , boolean singlesteplevel ) { if ( this . currentStep . isLevelFinished ( ) ) { // If current step is done move to next one this . currentStep = this . currentStep . getParent ( ) . nextStep ( null , source ) ; } // Add level this . currentStep = this . currentStep . addLevel ( steps , source , singlesteplevel ) ; }
Adds a new level to the progress stack .