Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 8, 2008, 7:58:49 PM (16 years ago)
Author:
dafrick
Message:

Completed documentation of finished classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem2/src/orxonox/objects/quest/AddReward.cc

    r2146 r2159  
    2727 */
    2828
     29/**
     30    @file AddReward.cc
     31    @brief
     32        Implementation of the AddReward class.
     33*/
     34
    2935#include "OrxonoxStableHeaders.h"
    3036#include "AddReward.h"
     
    3945    CreateFactory(AddReward);
    4046
     47    /**
     48    @brief
     49        Constructor. Registers the object.
     50    */
    4151    AddReward::AddReward(BaseObject* creator) : QuestEffect(creator)
    4252    {
    4353        RegisterObject(AddReward);
    44 
    45         this->initialize();
    4654    }
    4755
     
    5462    }
    5563
     64    /**
     65        Method for creating a AddReward object through XML.
     66    */
    5667    void AddReward::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    5768    {
     
    6475    /**
    6576    @brief
    66         Initializes the object. Needs to be called first by every constructor of this class.
     77        Returns the rewardbale object at the given index.
     78    @param index
     79        The index.
     80    @return
     81        Returns a pointer to the rewardable object at the given index.
    6782    */
    68     void AddReward::initialize(void)
    69     {
    70         RegisterObject(AddReward);
    71     }
    72 
    7383    const Rewardable* AddReward::getRewardables(unsigned int index) const
    7484    {
Note: See TracChangeset for help on using the changeset viewer.