| Line | |
|---|
| 1 | #include "core/BaseObject.h" |
|---|
| 2 | |
|---|
| 3 | #include <string> |
|---|
| 4 | |
|---|
| 5 | namespace orxonox{ |
|---|
| 6 | class Question : public BaseObject |
|---|
| 7 | { |
|---|
| 8 | public: |
|---|
| 9 | Question(Context* context); |
|---|
| 10 | virtual ~Question(); |
|---|
| 11 | virtual void XMLPort(Element& xmelement, XMLPort::Mode mode); |
|---|
| 12 | |
|---|
| 13 | void setQuestion(std::string question) |
|---|
| 14 | std::string getQuestion(); |
|---|
| 15 | |
|---|
| 16 | void addAwnserIds(); |
|---|
| 17 | std::vector<std::string> geAwnserIds(); |
|---|
| 18 | |
|---|
| 19 | private: |
|---|
| 20 | std::string question_ |
|---|
| 21 | std::vector<std::string> answerIds_; |
|---|
| 22 | } |
|---|
| 23 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.