Example #1
0
 public void CollideEnemy()
 {
     if (lives > 0)
     {
         ScoreChangedLives?.Invoke(--lives);
     }
 }
Example #2
0
 private void NumberLives()
 {
     ScoreChangedLives?.Invoke(lives);
 }