Rev | Line | |
---|
[11391] | 1 | #include "core/XMLPort.h" |
---|
| 2 | #include "core/BaseObject.h" |
---|
| 3 | #include "core/EventIncludes.h" |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | namespace 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.