Exemplo n.º 1
0
 /// <summary>
 /// Called when the player reaches the level's exit.
 /// </summary>
 private void OnExitReached()
 {
     Player.OnReachedExit();
     exitReachedSound.Play();
     reachedExit = true;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Called when the player reaches the level's exit.
 /// </summary>
 private void OnExitReached()
 {
     Player.OnReachedExit();
     GameContent.SoundEffects.exitReachedSound.Play();
     reachedExit = true;
 }