void LoseOneLife()
 {
     if (!lifeController.RemoveLife())
     {
         Debug.Log("Game Over!");
         continueGame = false;
     }
 }
Exemple #2
0
    private void decreaseLife()
    {
        bool nextLife = lifeViewController.RemoveLife();

        if (!nextLife)
        {
            lifeViewController.RestoreAllLives();
        }
        Debug.Log("GAMING = " + nextLife);
    }
Exemple #3
0
 void LoseOneLife()
 {
     if (!lifeViewController.RemoveLife())
     {
         Debug.Log("Game Over!");
     }
     else
     {
         NewJumper();
     }
 }