public void CallNextQuestion() { if (_hasTypes) { _questions.NextQuestion(_type); } else { _questions.NextQuestion(); } }
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(); }
protected override void OnClick() { base.OnClick(); _questionsData.NextQuestion(); }