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