Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2017, 3:47:48 PM (8 years ago)
Author:
rrogge
Message:

zeigt PickupInventory an

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialogue_FS17/src/modules/dialogue/NextQuestion.h

    r11393 r11401  
    11#include <vector>
    22#include <string>
     3#include "core/class/Identifier.h"
     4#include "OrxonoxPrereqs.h"
     5#include "core/XMLPort.h"
     6#include "core/EventIncludes.h"
     7#include "DialogueManager.h"
    38
    4 #include "core/XMLPort.h"
     9
    510
    611namespace orxonox{
    7         void setanswers(std::string option1, std::string option2, std::string option3);
    8         std::vector <std::string> getanswers(void);
     12        class _OrxonoxExport NextQuestion : public BaseObject
     13        {
     14               
     15                //tolua_begin
     16                public:
    917
    10         int getnumOptions();
    11         std::vector<std::string> options;
     18                NextQuestion (Context* context); // tolua_export
     19               
     20
     21                void setquestion(std::string question);
     22                std::string getquestion(void);
     23
     24
     25               
     26 
     27               
     28                virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     29
     30                /*void setanswers(std::string option1, std::string option2, std::string option3);
     31                std::vector <std::string> getanswers(void);
     32
     33                int getnumOptions();
     34                std::vector<std::string> options;*/
     35
     36                //Event
     37                virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);
     38                bool execute(bool bTriggered, BaseObject* trigger);
     39
     40               
     41        private:
     42                std::string question;
     43                DialogueManager* m;
     44
     45        };
     46       
    1247}
Note: See TracChangeset for help on using the changeset viewer.