Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Kein Identifier Problem mehr

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