Line | |
---|
1 | |
---|
2 | #ifndef _Dialogue_H__ |
---|
3 | #define _Dialogue_H__ |
---|
4 | #include <string> |
---|
5 | #include "core/BaseObject.h" |
---|
6 | |
---|
7 | namespace orxonox{ |
---|
8 | |
---|
9 | class Dialogue: public BaseObject{ |
---|
10 | |
---|
11 | public: |
---|
12 | Dialogue(Context* context); //!< Default Constructor. |
---|
13 | virtual ~Dialogue(); //!< Destructor. |
---|
14 | |
---|
15 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); |
---|
16 | |
---|
17 | const std::string& getMessage(void) |
---|
18 | { return this->message_; } |
---|
19 | |
---|
20 | void setMessage(const std::string& message) |
---|
21 | { this->message_ = message; } |
---|
22 | |
---|
23 | protected: |
---|
24 | virtual const std::string& createNotificationMessage(void) |
---|
25 | { return this->message_; } |
---|
26 | private: |
---|
27 | std::string message_; |
---|
28 | } ; |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.