Rev | Line | |
---|
[11515] | 1 | #include "core/BaseObject.h" |
---|
| 2 | |
---|
| 3 | #include <string> |
---|
| 4 | |
---|
| 5 | namespace orxonox{ |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | class Awnser : public BaseObject |
---|
| 10 | { |
---|
| 11 | public: |
---|
| 12 | Awnser(Context* context); |
---|
| 13 | virtual ~Awnser(); |
---|
| 14 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); |
---|
| 15 | |
---|
| 16 | void setNextQuestion(std::string nextId); |
---|
| 17 | std::string getNextQuestion(); |
---|
| 18 | |
---|
| 19 | void setAwnser(std::string awns); |
---|
| 20 | std::string getAwnser(); |
---|
| 21 | |
---|
| 22 | private: |
---|
| 23 | std::string awnser_; |
---|
| 24 | std::string nextQuestionId_; |
---|
| 25 | } |
---|
| 26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.