Пример #1
0
 public void CallNextQuestion()
 {
     if (_hasTypes)
     {
         _questions.NextQuestion(_type);
     }
     else
     {
         _questions.NextQuestion();
     }
 }
Пример #2
0
        public override void PrepareGame()
        {
            if (GenerateFromModel)
            {
                GenereateAssociationFromModel();
                return;
            }

            if (_questionsData == null)
            {
                _questionsData = _bootstrap.GetModel(ModelTypes.Questions) as QuestionsData;
            }

            _questionsData.NextQuestion();


            if (_associationObjectsContents.Count == 0)
            {
                RandomizeAssociationObjects();
            }
            else
            {
                RandomizeAssociationObjectsContents();
            }

            base.PrepareGame();
        }
Пример #3
0
        protected override void OnClick()
        {
            base.OnClick();

            _questionsData.NextQuestion();
        }