- Timestamp:
- Dec 12, 2016, 3:16:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialog_HS16/src/modules/notifications/dispatchers/Dialogue.cc
r11317 r11331 1 2 3 1 4 2 #include "Dialogue.h" … … 15 13 RegisterClass(Dialogue); 16 14 15 /** 16 @brief 17 Default Constructor. Registers the object and initializes variables. 18 */ 17 19 Dialogue::Dialogue(Context* context):NotificationDispatcher(context){ 18 20 RegisterObject(Dialogue); … … 22 24 this->setSyncMode(ObjectDirection::None); 23 25 } 24 26 /** 27 @brief 28 Destructor. 29 */ 25 30 Dialogue::~Dialogue() 26 31 { 27 32 28 33 } 34 /** 35 @brief 36 Method for creating a Dialogue object through XML. 37 */ 29 38 void Dialogue::XMLPort(Element& xmlelement, XMLPort::Mode mode) 30 39 { … … 36 45 37 46 } 38 void Dialogue::update() 39 { 47 /** 48 @brief 49 Passes the name of the picture over to the HUDDialogue class 50 */ 51 void Dialogue::update() 52 { 40 53 for(HUDDialogue* huddialogue : ObjectList<HUDDialogue>()) 41 54 huddialogue->updateTarget(portrait_); 42 55 } 43 56 /** 57 @brief Creates the notification message,Pconsisting of a speaker and a message, that should be sent upon the Dialgue triggering. 58 @return Returns the notification message. 59 */ 44 60 const std::string& Dialogue::createNotificationMessage(void) 45 61 {
Note: See TracChangeset
for help on using the changeset viewer.