Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialog_HS17/src/modules/dialog/Answer.h @ 11579

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

some bug fixed most not

File size: 615 bytes
Line 
1#include "core/BaseObject.h"
2#include "core/XMLPort.h"
3#include <string>
4
5namespace orxonox
6{
7       
8        class Answer : public BaseObject
9        {
10                public:
11                        Answer(Context* context);
12                        virtual ~Answer();
13                        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
14
15                        void setAnswerId(std::string answerId); 
16                        std::string getAnswerId();
17
18                        void setNextQuestion(std::string nextId); // "end" um den dialog zu beenden
19                        std::string getNextQuestion();
20
21                        void setAnswer(std::string awns);
22                        std::string getAnswer();
23
24                private:
25                        std::string answerId_;
26                        std::string answer_;
27                        std::string nextQuestionId_;
28        };
29}
Note: See TracBrowser for help on using the repository browser.