Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 1:29:33 PM (15 years ago)
Author:
dafrick
Message:

Just changed some small stuff…

File:
1 edited

Legend:

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

    r2159 r2191  
    4747    /**
    4848    @brief
    49         Adds a list of rewards to a player.
     49        Adds a list of Rewardables to a player.
    5050    @author
    5151        Damian 'Mozork' Frick
     
    5959            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a AddReward object through XML.
    6060
    61             virtual bool invoke(ControllableEntity* player); //!< Invokes the effect.
     61            virtual bool invoke(ControllableEntity* player); //!< Invokes the QuestEffect.
    6262
    6363        private:
    64             std::list<Rewardable*> rewards_; //!< A list of rewards to be added to the player invoking the effect.
     64            std::list<Rewardable*> rewards_; //!< A list of Rewardables to be added to the player invoking the QuestEffect.
    6565
    66             inline void addRewardable(Rewardable* reward) //!< Add a rewardable object to the list of objects to be awarded to the player invoking the effect.
     66            /**
     67            @brief Add a Rewardable object to the list of objects to be awarded to the player invoking the QuestEffect.
     68            @param reward Pointer to the Rewardable to be added.
     69            */
     70            inline void addRewardable(Rewardable* reward)
    6771                { this->rewards_.push_back(reward); }
    68             const Rewardable* getRewardables(unsigned int index) const; //!< Returns the rewardable object at the given index.
     72            const Rewardable* getRewardables(unsigned int index) const; //!< Returns the Rewardable object at the given index.
    6973
    7074    };
Note: See TracChangeset for help on using the changeset viewer.