source:
code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.h
@
11401
Last change on this file since 11401 was 11401, checked in by rrogge, 7 years ago | |
---|---|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[11371] | 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" | |
[11382] | 8 | #include "util/Singleton.h" |
9 | #include <string> | |
10 | #include <vector> | |
11 | #include "OrxonoxPrereqs.h" | |
[11384] | 12 | #include "core/config/Configurable.h" |
[11390] | 13 | #include "core/XMLPort.h" |
[11393] | 14 | #include "core/EventIncludes.h" |
[11371] | 15 | |
[11382] | 16 | //tolua_begin |
17 | namespace orxonox | |
18 | //tolua_end | |
19 | {//toluaexport | |
[11393] | 20 | class _OrxonoxExport DialogueManager : public Singleton<DialogueManager>, public BaseObject |
[11384] | 21 | { |
[11382] | 22 | friend class Singleton<DialogueManager>; |
23 | //tolua_begin | |
[11384] | 24 | public: |
[11401] | 25 | |
[11377] | 26 | |
[11393] | 27 | DialogueManager(Context* context); // tolua_export |
28 | ||
29 | ||
[11384] | 30 | static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } |
[11393] | 31 | |
32 | void setquestion(std::string question); | |
33 | std::string getquestion(void); | |
[11401] | 34 | |
[11382] | 35 | |
[11401] | 36 | |
[11393] | 37 | |
38 | ||
[11390] | 39 | /*std::string setnpc(std::string npc); |
[11382] | 40 | |
[11377] | 41 | void setanswers(std::string option1, std::string option2, std::string option3); |
[11382] | 42 | std::vector <std::string> getanswers(void); |
43 | ||
44 | int getnumOptions(); | |
[11377] | 45 | |
46 | ||
[11384] | 47 | |
[11377] | 48 | std::string npc; |
[11382] | 49 | std::vector<std::string> options; |
50 | //tolua_end | |
51 | */ | |
52 | private: | |
[11384] | 53 | std::string question; |
[11382] | 54 | static DialogueManager* singletonPtr_s; |
[11371] | 55 | |
[11382] | 56 | };//toluaexport |
[11371] | 57 | } |
Note: See TracBrowser
for help on using the repository browser.