Beispiel #1
0
        public string askQuestion()
        {
            Question newQuestion = GameDBManager.getQuestion();
            QA       newQA       = new QA(newQuestion);

            questionsAsked.Add(newQA);
            answeringOpen = true;
            questionReady = true;
            return(JsonMapper.ToJson(newQuestion));
        }
Beispiel #2
0
 private void showAnswersEvent(Object source, ElapsedEventArgs e)
 {
     answeringOpen = false;
     QA currentQuestion = questionsAsked.Last();
     //show answers
 }