Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2016, 3:16:38 PM (7 years ago)
Author:
dmoritz
Message:

Final changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialog_HS16/src/modules/notifications/dispatchers/Dialogue.cc

    r11317 r11331  
    1 
    2 
    31
    42#include "Dialogue.h"
     
    1513        RegisterClass(Dialogue);
    1614
     15    /**
     16    @brief
     17        Default Constructor. Registers the object and initializes variables.
     18    */
    1719        Dialogue::Dialogue(Context* context):NotificationDispatcher(context){
    1820                RegisterObject(Dialogue);
     
    2224        this->setSyncMode(ObjectDirection::None);
    2325        }
    24 
     26    /**
     27    @brief
     28        Destructor.
     29    */
    2530        Dialogue::~Dialogue()
    2631    {
    2732
    2833    }
     34    /**
     35    @brief
     36        Method for creating a Dialogue object through XML.
     37    */
    2938    void Dialogue::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    3039    {
     
    3645       
    3746    }
    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    {   
    4053       for(HUDDialogue* huddialogue : ObjectList<HUDDialogue>())
    4154                       huddialogue->updateTarget(portrait_);
    4255    }
    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    */
    4460    const std::string& Dialogue::createNotificationMessage(void)
    4561                {       
Note: See TracChangeset for help on using the changeset viewer.