Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11607 was 11607, checked in by maxima, 6 years ago

No more compiler errors. XMLPortObjects not yet implemented.

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