Exemplo n.º 1
0
        private IKnowledge GenerateInitialKnowedge(StudentType studentType, OtherCompetence otherCompetence)
        {
            double initial = 0;

            if (studentType != StudentType.ThisYearStudent)
            {
                initial = 10;
            }
            initial = RandomProvider.Instance.Next(10, 21) + initial + (int)otherCompetence;

            IKnowledge knowledge = new KnowledgeStats(initial);

            return knowledge;
        }
Exemplo n.º 2
0
        private IKnowledge GenerateInitialKnowedge(StudentType studentType, OtherCompetence otherCompetence)
        {
            double initial = 0;

            if (studentType != StudentType.ThisYearStudent)
            {
                initial = 10;
            }
            initial = RandomProvider.Instance.Next(10, 21) + initial + (int)otherCompetence;

            IKnowledge knowledge = new KnowledgeStats(initial);

            return(knowledge);
        }