Esempio n. 1
0
 public void ResetScore()
 {
     _score = 0;
     if (ScoreEventHandler != null)
     {
         ScoreEventHandler.Invoke(this, new ScoreEventArgs {
             Score = _score
         });
     }
 }
Esempio n. 2
0
 // TOOD: Refactor this into TopDown specific
 public void UpdateScore()
 {
     _score++;
     if (ScoreEventHandler != null)
     {
         ScoreEventHandler.Invoke(this, new ScoreEventArgs {
             Score = _score
         });
     }
 }