Changeset 11390 for code/branches/Dialogue_FS17
- Timestamp:
- Mar 30, 2017, 4:04:09 PM (8 years ago)
- Location:
- code/branches/Dialogue_FS17/src/modules/dialogue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.cc
r11384 r11390 29 29 30 30 } 31 /*std::string DialogueManager::setnpc(std::string npc){32 return npc;33 }34 31 35 32 void DialogueManager::setquestion(std::string question){ 36 33 question=question; 37 34 } … … 40 37 return question; 41 38 } 39 void DialogueManager::XMLPort(Element& xmlelement, XMLPort::Mode mode) 40 { 41 SUPER(DialogueManager, XMLPort, xmlelement, mode); 42 43 XMLPortParam(DialogueManager, "question", setquestion, getquestion, xmlelement, mode); 44 } 45 /*std::string DialogueManager::setnpc(std::string npc){ 46 return npc; 47 } 48 49 42 50 43 51 void DialogueManager::setanswers(std::string option1, std::string option2, std::string option3){ … … 55 63 } 56 64 57 void DialogueManager::XMLPort(Element& xmlelement, XMLPort::Mode mode) 58 { 59 SUPER(DialogueManager, XMLPort, xmlelement, mode); 60 61 XMLPortParam(DialogueManager, "question", setquestion, getquestion, xmlelement, mode); 62 }*/ 65 */ 63 66 } -
code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.h
r11384 r11390 12 12 #include "OrxonoxPrereqs.h" 13 13 #include "core/config/Configurable.h" 14 #include "core/XMLPort.h" 14 15 15 16 //tolua_begin … … 26 27 static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } 27 28 void setConfigValues(); 28 /*virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);29 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 29 30 30 31 void setquestion(std::string question); 31 32 std::string getquestion(void); 32 33 33 std::string setnpc(std::string npc);34 /*std::string setnpc(std::string npc); 34 35 35 36 void setanswers(std::string option1, std::string option2, std::string option3);
Note: See TracChangeset
for help on using the changeset viewer.