예제 #1
0
 private void onWhenSpacehipDie(TextAsSprite i_ScoreAsText)
 {
     SettingsManager.AddPlayerScore(i_ScoreAsText);
     if (SpaceShips.Where(spaceShip => spaceShip.Value.Enabled).Count() == 0)
     {
         if (NotifiyGameOver != null)
         {
             NotifiyGameOver();
         }
     }
 }