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