Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

30 March

File size: 1.2 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 "DialoguePrereqs.h"
9#include "util/Singleton.h"
10#include <string>
11#include <vector>
12#include "OrxonoxPrereqs.h"
13
14//tolua_begin
15namespace orxonox
16//tolua_end
17{//toluaexport
18        class _OrxonoxExport DialogueManager : public Singleton<DialogueManager>{
19                friend class Singleton<DialogueManager>;
20                //tolua_begin
21                //public:
22
23                DialogueManager();
24                static DialogueManager& getInstance() { return Singleton<DialogueManager>::getInstance(); } // tolua_export
25                /*virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
26
27                        void setquestion(std::string question);
28                        std::string getquestion(void);
29
30                        std::string setnpc(std::string npc);
31
32                        void setanswers(std::string option1, std::string option2, std::string option3);
33                        std::vector <std::string> getanswers(void);
34
35                        int getnumOptions();
36                       
37
38                        std::string question;
39                        std::string npc;
40                        std::vector<std::string> options;
41                //tolua_end
42*/
43private:
44        static DialogueManager* singletonPtr_s;
45
46        };//toluaexport
47}
Note: See TracBrowser for help on using the repository browser.