- Timestamp:
- Feb 20, 2018, 12:09:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge/src/modules/dialog/AnswerId.h
r11781 r11782 39 39 namespace orxonox{ 40 40 41 42 41 /** 42 @brief 43 43 container class for answerids in xml 44 44 45 45 */ 46 46 47 class _DialogExport AnswerId : public BaseObject 48 { 49 public: 50 AnswerId(Context* context); 51 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 47 class _DialogExport AnswerId : public BaseObject 48 { 49 public: 50 AnswerId(Context* context); 53 51 54 void setId(const std::string& Id); //allows to set Id, only use in xmlPort for initializing AnswerIds in lvl files 55 const std::string& getId() const; //allows to get Id, used in xmlPort 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 56 53 57 private: 58 std::string id_; //!< id of one answer 59 }; 54 void setId(const std::string& Id); //allows to set Id, only use in xmlPort for initializing AnswerIds in lvl files 55 const std::string& getId() const; //allows to get Id, used in xmlPort 56 57 private: 58 std::string id_; //!< id of one answer 59 }; 60 60 } 61 61
Note: See TracChangeset
for help on using the changeset viewer.