Line | |
---|
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 | //tolua_begin |
---|
17 | namespace orxonox |
---|
18 | //tolua_end |
---|
19 | {//toluaexport |
---|
20 | class _OrxonoxExport DialogueManager : public Singleton<DialogueManager>, public BaseObject |
---|
21 | { |
---|
22 | friend class Singleton<DialogueManager>; |
---|
23 | //tolua_begin |
---|
24 | public: |
---|
25 | |
---|
26 | |
---|
27 | DialogueManager(Context* context); // tolua_export |
---|
28 | |
---|
29 | |
---|
30 | static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } |
---|
31 | |
---|
32 | void setquestion(std::string question); |
---|
33 | std::string getquestion(void); |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | /*std::string setnpc(std::string npc); |
---|
40 | |
---|
41 | void setanswers(std::string option1, std::string option2, std::string option3); |
---|
42 | std::vector <std::string> getanswers(void); |
---|
43 | |
---|
44 | int getnumOptions(); |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | std::string npc; |
---|
49 | std::vector<std::string> options; |
---|
50 | //tolua_end |
---|
51 | */ |
---|
52 | private: |
---|
53 | std::string question; |
---|
54 | static DialogueManager* singletonPtr_s; |
---|
55 | |
---|
56 | };//toluaexport |
---|
57 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.