1 | #include "core/CoreIncludes.h" |
---|
2 | #include "core/LuaState.h" |
---|
3 | #include "core/GUIManager.h" |
---|
4 | #include "core/class/Identifier.h" |
---|
5 | #include "core/singleton/ScopedSingletonIncludes.h" |
---|
6 | #include "network/Host.h" |
---|
7 | #include "network/NetworkFunctionIncludes.h" |
---|
8 | #include "util/Singleton.h" |
---|
9 | #include <string> |
---|
10 | #include <vector> |
---|
11 | #include "OrxonoxPrereqs.h" |
---|
12 | #include "core/config/Configurable.h" |
---|
13 | #include "core/XMLPort.h" |
---|
14 | #include "core/EventIncludes.h" |
---|
15 | |
---|
16 | |
---|
17 | namespace orxonox //tolua_export |
---|
18 | |
---|
19 | {//tolua_export |
---|
20 | class _OrxonoxExport DialogueManager //tolua_export |
---|
21 | : public Singleton<DialogueManager>, public BaseObject |
---|
22 | {//tolua_export |
---|
23 | friend class Singleton<DialogueManager>; |
---|
24 | |
---|
25 | public: |
---|
26 | |
---|
27 | |
---|
28 | DialogueManager(Context* context); |
---|
29 | |
---|
30 | |
---|
31 | static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } //tolua_export |
---|
32 | |
---|
33 | void setquestion(std::string question); //tolua_export |
---|
34 | std::string getquestion(void); //tolua_export |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | /*std::string setnpc(std::string npc); |
---|
41 | |
---|
42 | void setanswers(std::string option1, std::string option2, std::string option3); |
---|
43 | std::vector <std::string> getanswers(void); |
---|
44 | |
---|
45 | int getnumOptions(); |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | std::string npc; |
---|
50 | std::vector<std::string> options; |
---|
51 | |
---|
52 | */ |
---|
53 | private: |
---|
54 | std::string question; |
---|
55 | static DialogueManager* singletonPtr_s; |
---|
56 | |
---|
57 | };//tolua_export |
---|
58 | }//tolua_export |
---|
59 | |
---|