Rev | Line | |
---|
[11247] | 1 | |
---|
| 2 | |
---|
| 3 | #include "Dialogue.h" |
---|
| 4 | #include "core/CoreIncludes.h" |
---|
| 5 | #include "core/EventIncludes.h" |
---|
| 6 | #include "core/XMLPort.h" |
---|
| 7 | |
---|
| 8 | namespace orxonox{ |
---|
| 9 | |
---|
| 10 | RegisterClass(Dialogue); |
---|
| 11 | |
---|
[11261] | 12 | Dialogue::Dialogue(Context* context):NotificationDispatcher(context){ |
---|
[11247] | 13 | RegisterObject(Dialogue); |
---|
| 14 | |
---|
[11261] | 15 | this->setSender("dialogue"); |
---|
| 16 | |
---|
| 17 | this->setSyncMode(ObjectDirection::None); |
---|
| 18 | |
---|
| 19 | |
---|
[11247] | 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); |
---|
[11261] | 31 | //XMLPortParam(Dialogue, "speaker", setSpeaker, getSpeaker, xmlelement, mode); |
---|
| 32 | |
---|
[11247] | 33 | } |
---|
| 34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.