示例#1
0
 /// <summary>
 /// Plays the end of game sound effect if possible.
 /// </summary>
 private void playEndOfGameSoundEffectIfPossible()
 {
     if (shoes.stopPlayerInputDueToLevelCompletion &&
         Level.currentLevel == 5 &&
         !hasEndOfGameSoundEffectPlayed)
     {
         hasEndOfGameSoundEffectPlayed = true;
         SoundEffectHandler.playEndOfGameCompleteSoundEffect();
     }
 }