Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2017, 5:05:53 PM (7 years ago)
Author:
rrogge
Message:

Reload works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.cc

    r11428 r11432  
    4747               
    4848        }
     49        void DialogueManager::setCurrentQuestion(NextQuestion* nq){
     50                currentQuestion=nq;
     51               
     52        }
    4953
    5054        std::string DialogueManager::getquestion(void){
     
    9296                this->setanswers1(nq->getanswers1());
    9397                this->setanswers2(nq->getanswers2());
     98                depth=depth+1;
     99               
     100               
    94101         }
    95 
     102        void DialogueManager::clean(){
     103                orxout() <<" depth " << depth << endl;
     104                //allQuestions.at(2*depth+1);
     105        }
    96106        bool DialogueManager::theEnd(){
    97107        if((currentQuestion->possibleQuestions).empty()) {
Note: See TracChangeset for help on using the changeset viewer.