Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialog_HS16/src/modules/notifications/dispatchers/Dialogue.h @ 11247

Last change on this file since 11247 was 11247, checked in by dmoritz, 8 years ago

New Dialogue Class

File size: 740 bytes
Line 
1
2#ifndef _Dialogue_H__
3#define _Dialogue_H__
4#include <string>      
5#include "core/BaseObject.h"
6
7namespace orxonox{
8
9class 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.