Esempio n. 1
0
 public void CheckReset(object sender, LevelUpEventArgs e)
 {
     if (e.NewLevel == MAX_LEVEL_BEFORE_RESTART)
     {
         StatRecorder.Reset();
         LevelManager.Reset();
         WeaponController.Reset();
         LifeController.Reset();
     }
 }