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
RevLine 
[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
[11406]16
[11413]17
[11406]18namespace orxonox //tolua_export
19
20{//tolua_export
21        class _OrxonoxExport DialogueManager //tolua_export
22        : public Singleton<DialogueManager>, public BaseObject
23        {//tolua_export
[11382]24                friend class Singleton<DialogueManager>;
[11406]25       
[11384]26                public:
[11401]27               
[11377]28
[11406]29                DialogueManager(Context* context); 
[11393]30               
31
[11406]32                static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } //tolua_export
[11393]33               
[11406]34                void setquestion(std::string question); //tolua_export
35                std::string getquestion(void); //tolua_export
[11401]36               
[11382]37
[11413]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
[11390]44                        /*std::string setnpc(std::string npc);
[11382]45
[11377]46                        void setanswers(std::string option1, std::string option2, std::string option3);
[11382]47                        std::vector <std::string> getanswers(void);
48
49                        int getnumOptions();
[11377]50                       
51
[11384]52                       
[11377]53                        std::string npc;
[11382]54                        std::vector<std::string> options;
[11406]55               
[11382]56*/
57private:
[11413]58        std::string a1;
59        std::string a2;
[11384]60        std::string question;
[11382]61        static DialogueManager* singletonPtr_s;
[11371]62
[11406]63        };//tolua_export
64}//tolua_export
65
Note: See TracBrowser for help on using the repository browser.