Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialogue_FS17/src/modules/dialogue/NextQuestion.h @ 11401

Last change on this file since 11401 was 11401, checked in by rrogge, 7 years ago

zeigt PickupInventory an

File size: 897 bytes
Line 
1#include <vector>
2#include <string>
3#include "core/class/Identifier.h"
4#include "OrxonoxPrereqs.h"
5#include "core/XMLPort.h"
6#include "core/EventIncludes.h"
7#include "DialogueManager.h"
8
9
10
11namespace orxonox{
12        class _OrxonoxExport NextQuestion : public BaseObject
13        {
14               
15                //tolua_begin
16                public:
17
18                NextQuestion (Context* context); // tolua_export
19               
20
21                void setquestion(std::string question);
22                std::string getquestion(void);
23
24
25               
26 
27               
28                virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
29
30                /*void setanswers(std::string option1, std::string option2, std::string option3);
31                std::vector <std::string> getanswers(void);
32
33                int getnumOptions();
34                std::vector<std::string> options;*/
35
36                //Event
37                virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);
38                bool execute(bool bTriggered, BaseObject* trigger);
39
40               
41        private:
42                std::string question;
43                DialogueManager* m;
44
45        };
46       
47}
Note: See TracBrowser for help on using the repository browser.