private void OpenCourseByNumber(int num) { var id = _gameInfoHolder.Courses[num].number; var courses = _playerInfoHolder.Courses.ToList(); courses.Add(id); _playerInfoHolder.Courses = courses.ToArray(); ConcreteView.OpenCourse(id); ShowProgress(_playerInfoHolder.Courses.Length, _gameInfoHolder.Courses.Length); }
private void OpenCourse(int id) { ConcreteView.OpenCourse(id); }