Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.h @ 11413

Last change on this file since 11413 was 11413, checked in by rrogge, 7 years ago

Buttons

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