Пример #1
0
 private void GoDown()
 {
     _playerInfoHolder.CurrentCourse    = 0;
     _playerInfoHolder.Points           = 0;
     _playerInfoHolder.UniversityPoints = 0;
     _playerInfoHolder.TasksTaken       = 0;
     _playerInfoHolder.PrivateLife      = _playerInfoHolder.MaxPrivateLife;
     _playerInfoHolder.IsClassroom      = false;
     if (_type == TestType.EIT)
     {
         _reasonHandler.ShowReason(_exclusionService.GetExclusion(ExclusionType.FailEIT)?.Id);
     }
     if (_type == TestType.Session)
     {
         _reasonHandler.ShowReason(_exclusionService.GetExclusion(ExclusionType.FailSession)?.Id);
     }
 }
Пример #2
0
        private void Check()
        {
            var exclusionId = _exclusionCheck.CheckForExclusion();

            if (exclusionId != null)
            {
                _playerHolder.IsClassroom = false;
                _reasonHandler.ShowReason(exclusionId);
            }
        }