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/overlays/hud/HUDDialogue.cc

    r11317 r11331  
    1515{
    1616
    17          RegisterClass (HUDDialogue);
    18 
    19          HUDDialogue::HUDDialogue(Context* context) :
    20         OrxonoxOverlay(context)
     17        RegisterClass (HUDDialogue);
     18        /**
     19    @brief
     20        Default Constructor. Registers the object and initializes variables.
     21    */
     22        HUDDialogue::HUDDialogue(Context* context) :
     23    OrxonoxOverlay(context)
    2124    {
    2225        RegisterObject(HUDDialogue);
    23         }     
     26        }   
     27        /**
     28        @brief
     29                Updates the picture to the picture which was declared in the Dialogue class and sets a timer to set the picture on invisible again.
     30        */ 
    2431    void HUDDialogue::updateTarget(std::string portrait)
    2532    {
     
    3340        portraitTimer.setTimer(2.9f,false,createExecutor(createFunctor(&HUDDialogue::invisible, this)));
    3441    }
     42    /**
     43    @brief
     44        Sets the picture back to invisible again.
     45    */
    3546    void HUDDialogue::invisible()
    3647    {
     
    3849        Ogre::OverlayManager::getSingleton().destroyOverlayElement(this->overlayElementIcon_);
    3950    }
    40          HUDDialogue::~HUDDialogue()
    41          {
     51    /**
     52    @brief
     53        Default Destructor.
     54    */
     55        HUDDialogue::~HUDDialogue()
     56        {
    4257
    4358
    44          }
     59        }
    4560}
Note: See TracChangeset for help on using the changeset viewer.