#include "core/CoreIncludes.h" #include "core/LuaState.h" #include "core/GUIManager.h" #include "core/class/Identifier.h" #include "core/singleton/ScopedSingletonIncludes.h" #include "network/Host.h" #include "network/NetworkFunctionIncludes.h" #include "DialogueManager.h" #include "DialoguePrereqs.h" #include #include namespace orxonox { ManageScopedSingleton(DialogueManager, ScopeID::ROOT, false); RegisterClass(DialogueManager); DialogueManager::DialogueManager(){ RegisterObject(DialogueManager); } /*std::string setnpc(std::string npc){ return npc; } void setquestion(std::string question){ question=question; } std::string getquestion(void){ return question; } void setanswers(std::string option1, std::string option2, std::string option3){ options.at(0)=option1; options.at(1)=option2; options.at(2)=option3; } vector getanswers(void){ return options; } int getnumOptions(){ return options.size(); } void DialogueManager::XMLPort(Element& xmlelement, XMLPort::Mode mode) { SUPER(DialogueManager, XMLPort, xmlelement, mode); XMLPortParam(DialogueManager, "question", setquestion, getquestion, xmlelement, mode); }*/ }