Пример #1
0
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);

}
Пример #2
0
void DialogueManager::nextQuestion() {
	_q = _dialogue->findQuestion(_q->_answers[_answerId]->_followingName);
	if (_q == 0) {
		transitionToState(DIALOGUE_OVER);
	} else {
		transitionToState(displayQuestion() ? RUN_QUESTION : NEXT_ANSWER);
	}
}
Пример #3
0
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;
	}
}
Пример #4
0
void DialogueManager::start() {
	assert(_dialogue);
	_q = _dialogue->_questions[0];
	_state = DIALOGUE_START;
	transitionToState(displayQuestion() ? RUN_QUESTION : NEXT_ANSWER);
}
Пример #5
0
void DialogueManager::start() {
	assert(_dialogue);
	_q = _dialogue->_questions[0];
	_state = displayQuestion() ? RUN_QUESTION : NEXT_ANSWER;
}