void broadTheGame(MainPlayerData mpd) { printf("\nPLAYER'S NAME : %s\t", mpd.name); printf("PHAN THUONG HIEN TAI : %s (VND)\n\n", cashPrizeList[mpd.level - 1]); printf("\t\t>>>CAU HOI SO : %d<<<\n", mpd.level); displayQuestion(mpd.ques); }
void DialogueManager::nextQuestion() { _q = _dialogue->findQuestion(_q->_answers[_answerId]->_followingName); if (_q == 0) { transitionToState(DIALOGUE_OVER); } else { transitionToState(displayQuestion() ? RUN_QUESTION : NEXT_ANSWER); } }
void DialogueManager::nextQuestion() { debugC(9, kDebugDialogue, "nextQuestion\n"); _q = _dialogue->findQuestion(_q->_answers[_answerId]->_followingName); if (_q == 0) { _state = DIALOGUE_OVER; } else { _state = displayQuestion() ? RUN_QUESTION : NEXT_ANSWER; } }
void DialogueManager::start() { assert(_dialogue); _q = _dialogue->_questions[0]; _state = DIALOGUE_START; transitionToState(displayQuestion() ? RUN_QUESTION : NEXT_ANSWER); }
void DialogueManager::start() { assert(_dialogue); _q = _dialogue->_questions[0]; _state = displayQuestion() ? RUN_QUESTION : NEXT_ANSWER; }