- Timestamp:
- Apr 27, 2017, 3:36:57 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.h
r11401 r11406 14 14 #include "core/EventIncludes.h" 15 15 16 //tolua_begin 17 namespace orxonox 18 //tolua_end 19 {//toluaexport 20 class _OrxonoxExport DialogueManager : public Singleton<DialogueManager>, public BaseObject 21 { 16 17 namespace orxonox //tolua_export 18 19 {//tolua_export 20 class _OrxonoxExport DialogueManager //tolua_export 21 : public Singleton<DialogueManager>, public BaseObject 22 {//tolua_export 22 23 friend class Singleton<DialogueManager>; 23 //tolua_begin24 24 25 public: 25 26 26 27 27 DialogueManager(Context* context); // tolua_export28 DialogueManager(Context* context); 28 29 29 30 30 static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } 31 static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } //tolua_export 31 32 32 void setquestion(std::string question); 33 std::string getquestion(void); 33 void setquestion(std::string question); //tolua_export 34 std::string getquestion(void); //tolua_export 34 35 35 36 … … 48 49 std::string npc; 49 50 std::vector<std::string> options; 50 //tolua_end51 51 52 */ 52 53 private: … … 54 55 static DialogueManager* singletonPtr_s; 55 56 56 };//toluaexport 57 } 57 };//tolua_export 58 }//tolua_export 59
Note: See TracChangeset
for help on using the changeset viewer.