Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialog_HS16/src/modules/notifications/dispatchers/Dialogue.cc @ 11261

Last change on this file since 11261 was 11261, checked in by dmoritz, 7 years ago

Updated Dialogue Class

File size: 701 bytes
Line 
1
2
3#include "Dialogue.h"
4#include "core/CoreIncludes.h"
5#include "core/EventIncludes.h"
6#include "core/XMLPort.h"
7
8namespace orxonox{
9       
10        RegisterClass(Dialogue);
11
12        Dialogue::Dialogue(Context* context):NotificationDispatcher(context){
13                RegisterObject(Dialogue);
14
15                this->setSender("dialogue");
16
17        this->setSyncMode(ObjectDirection::None);
18
19
20        }
21
22        Dialogue::~Dialogue()
23    {
24
25    }
26    void Dialogue::XMLPort(Element& xmlelement, XMLPort::Mode mode)
27    {
28        SUPER(Dialogue, XMLPort, xmlelement, mode);
29
30        XMLPortParam(Dialogue, "message", setMessage, getMessage, xmlelement, mode);
31        //XMLPortParam(Dialogue, "speaker", setSpeaker, getSpeaker, xmlelement, mode);
32       
33    }
34}
Note: See TracBrowser for help on using the repository browser.