- Timestamp:
- May 26, 2017, 3:40:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialogue_FS17/src/modules/dialogue/NextQuestion.h
r11432 r11435 3 3 4 4 5 //#include <vector> 5 6 6 #include <string> 7 7 #include "core/class/Identifier.h" … … 25 25 std::string getquestion(void); 26 26 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 34 27 void setanswers1(std::string a1); 35 28 void setanswers2(std::string a2); … … 37 30 std::string getanswers2(void); 38 31 39 NextQuestion compare();32 40 33 41 34 42 // Event35 //XMLEventPort for Event that first triggers the Dialogue 43 36 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 44 45 bool execute(bool bTriggered, BaseObject* trigger); 45 46 46 47 std::vector<NextQuestion*> possibleQuestions; 47 std::vector<NextQuestion*> retposQues();48 48 49 private: 49 50 std::string a1;
Note: See TracChangeset
for help on using the changeset viewer.