Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialog_HS17/src/modules/dialog/DialogManager.h @ 11612

Last change on this file since 11612 was 11612, checked in by kuchlert, 6 years ago

funktioniert bis dialogmanager getInstance, angefangen und noch zu tun: luafunktionen von dialogmanager, lua und layout

File size: 965 bytes
Line 
1#ifndef _DialogManager_H__
2#define _DialogManager_H__
3
4#include "DialogPrereqs.h"
5#include "util/Singleton.h"
6#include "core/singleton/ScopedSingletonIncludes.h"
7#include "core/object/Listable.h"
8#include "Dialog.h"
9
10#include <string>
11
12namespace orxonox //tolua_export
13
14{//tolua_export
15    class _OrxonoxExport DialogManager //tolua_export
16    : public Singleton<DialogManager>
17    {//tolua_export
18        friend class Singleton<DialogManager>;
19   
20        public:
21       
22        DialogManager(); 
23       
24
25        static DialogManager& getInstance() { return Singleton<DialogManager>::getInstance(); } //tolua_export
26
27        void setDialog(Dialog* dialog);
28
29        //from here on luafunctionality is declared
30
31        std::string getQuestion(); //tolua_export
32        //std::vector<std::string> getAnswers();
33
34private:
35    static DialogManager* singletonPtr_s;
36
37    Dialog* currentTalk_;
38
39    };//tolua_export
40}//tolua_export
41
42#endif /* _DialogManager_H__ */
Note: See TracBrowser for help on using the repository browser.