Last change
on this file since 11634 was
11611,
checked in by kuchlert, 7 years ago
|
fixed addQuestion and addAnswer in Dialog
|
File size:
440 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 | |
---|
10 | namespace orxonox{ |
---|
11 | class AnswerId : public BaseObject |
---|
12 | { |
---|
13 | public: |
---|
14 | AnswerId(Context* context); |
---|
15 | |
---|
16 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); |
---|
17 | |
---|
18 | void setId(std::string Id); |
---|
19 | std::string getId(); |
---|
20 | |
---|
21 | private: |
---|
22 | std::string id_; |
---|
23 | }; |
---|
24 | } |
---|
25 | |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.