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 "DialoguePrereqs.h" |
---|
9 | #include "util/Singleton.h" |
---|
10 | #include <string> |
---|
11 | #include <vector> |
---|
12 | #include "OrxonoxPrereqs.h" |
---|
13 | #include "core/config/Configurable.h" |
---|
14 | |
---|
15 | //tolua_begin |
---|
16 | namespace orxonox |
---|
17 | //tolua_end |
---|
18 | {//toluaexport |
---|
19 | class _OrxonoxExport DialogueManager : public Singleton<DialogueManager>, public Configurable |
---|
20 | { |
---|
21 | friend class Singleton<DialogueManager>; |
---|
22 | //tolua_begin |
---|
23 | public: |
---|
24 | |
---|
25 | DialogueManager(); // tolua_export |
---|
26 | static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } |
---|
27 | void setConfigValues(); |
---|
28 | /*virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); |
---|
29 | |
---|
30 | void setquestion(std::string question); |
---|
31 | std::string getquestion(void); |
---|
32 | |
---|
33 | std::string setnpc(std::string npc); |
---|
34 | |
---|
35 | void setanswers(std::string option1, std::string option2, std::string option3); |
---|
36 | std::vector <std::string> getanswers(void); |
---|
37 | |
---|
38 | int getnumOptions(); |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | std::string npc; |
---|
43 | std::vector<std::string> options; |
---|
44 | //tolua_end |
---|
45 | */ |
---|
46 | private: |
---|
47 | std::string question; |
---|
48 | static DialogueManager* singletonPtr_s; |
---|
49 | |
---|
50 | };//toluaexport |
---|
51 | } |
---|