Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/HUD_HS16/src/modules/pickup/DDDialogue.h @ 11772

Last change on this file since 11772 was 11391, checked in by patricwi, 8 years ago

event example added

File size: 705 bytes
Line 
1#include "core/XMLPort.h"
2#include "core/BaseObject.h"
3#include "core/EventIncludes.h"
4
5
6namespace orxonox
7{
8
9    class DDDialogue: public BaseObject
10    {
11
12        public:
13            DDDialogue(Context* context) ; //!< Constructor.
14
15            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
16            virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);
17
18            virtual const std::string& getString()
19                { return this->mystring; }
20
21            virtual void setString(std::string s)
22                { this->mystring = s; }
23
24            bool execute(bool bTriggered, BaseObject* trigger);
25
26
27        private:
28
29            std::string mystring;
30    };
31
32}
Note: See TracBrowser for help on using the repository browser.