void LoseOneLife() { if (!lifeController.RemoveLife()) { Debug.Log("Game Over!"); continueGame = false; } }
private void decreaseLife() { bool nextLife = lifeViewController.RemoveLife(); if (!nextLife) { lifeViewController.RestoreAllLives(); } Debug.Log("GAMING = " + nextLife); }
void LoseOneLife() { if (!lifeViewController.RemoveLife()) { Debug.Log("Game Over!"); } else { NewJumper(); } }