#ifndef _AnswerID_H__ #define _AnswerID_H__ #include "core/XMLPort.h" #include "core/BaseObject.h" #include "core/CoreIncludes.h" #include namespace orxonox{ /** @brief container class for answerids in xml */ class AnswerId : public BaseObject { public: AnswerId(Context* context); virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); void setId(const std::string& Id); //allows to set Id, only use in xmlPort for initializing AnswerIds in lvl files const std::string& getId() const; //allows to get Id, used in xmlPort private: std::string id_; //!< id of one answer }; } #endif