Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialog_HS17/src/modules/dialog/AnswerId.h @ 11656

Last change on this file since 11656 was 11656, checked in by kuchlert, 6 years ago

fertig kommentierte version

File size: 659 bytes
Line 
1#ifndef _AnswerID_H__
2#define _AnswerID_H__
3
4#include "core/XMLPort.h"
5#include "core/BaseObject.h"
6#include "core/CoreIncludes.h"
7
8#include <string>
9
10namespace orxonox{
11
12        /**
13        @brief
14    container class for answerids in xml
15
16        */
17
18        class AnswerId : public BaseObject
19        {
20                public:
21                        AnswerId(Context* context);
22                       
23                        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
24
25            void setId(const std::string& Id);  //allows to set Id, only use in xmlPort for initializing AnswerIds in lvl files
26            const std::string& getId() const;   //allows to get Id, used in xmlPort
27
28                private: 
29                        std::string id_;        //!< id of one answer
30        };
31}
32
33#endif
Note: See TracBrowser for help on using the repository browser.