Esempio n. 1
0
 // These are the default new game values.
 public void SetGameReadyValues()
 {
     holyWaters     = GameplayValues.GetHolyWaters();
     score          = 0;
     lives          = 3;
     lastCheckpoint = null;
     SetLevelReadyValues();
 }
Esempio n. 2
0
 public void DeathFinished()
 {
     AudioManager.GetInstance().StopAllMusic();
     if (lives > 0)
     {
         if (GameplayValues.ReloadWatersOnDeath())
         {
             holyWaters = GameplayValues.GetHolyWaters();
         }
         lives -= 1;
         ReloadScene();
     }
     else
     {
         GameOver();
     }
 }