- Timestamp:
- May 18, 2017, 4:06:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.cc
r11421 r11428 74 74 void DialogueManager::a1clicked(void){ 75 75 76 assert((currentQuestion->retposQues())[0]); 77 orxout() << "a14 clicked" << endl; 78 orxout() << currentQuestion->possibleQuestions[0] << endl; 76 79 77 currentQuestion = currentQuestion->possibleQuestions[0]; 80 78 update(currentQuestion); … … 84 82 void DialogueManager::a2clicked(void){ 85 83 orxout() << "a2 clicked" << endl; 84 85 currentQuestion = currentQuestion->possibleQuestions[1]; 86 update(currentQuestion); 87 86 88 87 89 } … … 92 94 } 93 95 94 96 bool DialogueManager::theEnd(){ 97 if((currentQuestion->possibleQuestions).empty()) { 98 orxout() << "endtrue" << endl; 99 return true;} 100 else return false; 101 } 95 102 96 103 … … 98 105 /* 99 106 100 bool DialogueManager::theEnd(){ 101 if(currentQuestion->retposQues()) return true; 102 else return false; 103 } 107 104 108 105 109
Note: See TracChangeset
for help on using the changeset viewer.