Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2017, 3:40:04 PM (8 years ago)
Author:
rrogge
Message:

Code aufgeraeumt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialogue_FS17/src/modules/dialogue/NextQuestion.h

    r11432 r11435  
    33
    44
    5 //#include <vector>
     5
    66#include <string>
    77#include "core/class/Identifier.h"
     
    2525                std::string getquestion(void);
    2626
    27 
    28                 bool addposQuestion(NextQuestion* nq);
    29                 const NextQuestion* getposQuestion(unsigned int index) const;
    30  
    31                
    32                 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    33 
    3427                void setanswers1(std::string a1);
    3528                void setanswers2(std::string a2);
     
    3730                std::string getanswers2(void);
    3831
    39                 NextQuestion compare();
     32               
    4033               
    4134
    42                 //Event
     35                //XMLEventPort for Event that first triggers the Dialogue
    4336                virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);
     37
     38                //XMLPort for setting questions and answers and the vector possibleQuestions
     39                virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     40
     41                bool addposQuestion(NextQuestion* nq);
     42                const NextQuestion* getposQuestion(unsigned int index) const;
     43
     44                //Sets very first currentQuestion in the DialogueManager when the event is triggered
    4445                bool execute(bool bTriggered, BaseObject* trigger);
    4546
    4647                std::vector<NextQuestion*> possibleQuestions;
    47                 std::vector<NextQuestion*> retposQues();
     48       
    4849        private:
    4950                std::string a1;
Note: See TracChangeset for help on using the changeset viewer.