private void UpdateOpponentsNumber() { if (!Mode.CandidatesMode) { SetOpponentsNumberInternal(NonfilteredList.ApartFrom(_playerEntry).Count()); } }
private void UpdateExceeded() { if (Mode.CandidatesMode) { foreach (var entry in NonfilteredList.Where(x => x.ExceedsLimit)) { entry.ExceedsLimit = false; } } else { var left = OpponentsNumberLimit; foreach (var entry in NonfilteredList.ApartFrom(_playerEntry)) { entry.ExceedsLimit = --left < 0; } } }