- Timestamp:
- May 18, 2017, 5:05:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.cc
r11428 r11432 47 47 48 48 } 49 void DialogueManager::setCurrentQuestion(NextQuestion* nq){ 50 currentQuestion=nq; 51 52 } 49 53 50 54 std::string DialogueManager::getquestion(void){ … … 92 96 this->setanswers1(nq->getanswers1()); 93 97 this->setanswers2(nq->getanswers2()); 98 depth=depth+1; 99 100 94 101 } 95 102 void DialogueManager::clean(){ 103 orxout() <<" depth " << depth << endl; 104 //allQuestions.at(2*depth+1); 105 } 96 106 bool DialogueManager::theEnd(){ 97 107 if((currentQuestion->possibleQuestions).empty()) {
Note: See TracChangeset
for help on using the changeset viewer.