Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2008, 10:40:38 PM (17 years ago)
Author:
rgrieder
Message:

merged revisions 2260 - 2508 from trunk to buggy.
I'm sorry that I have to commit every merge. But otherwise I get tons of conflicts I have to solve ten times over.
Note: did not merge deletion of src/util/testing, tortoise wasn't very friendly with that.

Location:
code/branches/bugger
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/bugger

  • code/branches/bugger/src/orxonox/objects/quest/ChangeQuestStatus.h

    r2096 r2530  
    2727 */
    2828
     29/**
     30    @file ChangeQuestStatus.h
     31    @brief
     32    Definition of the ChangeQuestStatus class.
     33*/
     34
    2935#ifndef _ChangeQuestStatus_H__
    3036#define _ChangeQuestStatus_H__
     
    3945namespace orxonox {
    4046
    41     class Player; //Forward declaration, remove when fully integrated into the objecthirarchy.
    42 
    4347    /**
    4448    @brief
    45         An effect which changes a quests status.
     49        A QuestEffect which changes the status of a specified Quest for the player invoking the QuestEffect.
    4650    @author
    4751        Damian 'Mozork' Frick
     
    5357            virtual ~ChangeQuestStatus();
    5458
    55             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     59            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a ChangeQuestStatus object through XML.
    5660
    57             virtual bool invoke(Player* player) = 0; //!< Invokes the effect.
     61            virtual bool invoke(PlayerInfo* player) = 0; //!< Invokes the QuestEffect.
    5862
    5963        protected:
    60             inline const std::string & getQuestId(void) const //!< Returns the quest id.
     64            /**
     65                @brief Returns the id of the Quest.
     66                @return Returns the id of the Quest.
     67            */
     68            inline const std::string & getQuestId(void) const
    6169                { return this->questId_; }
    6270
    63             std::string questId_; //!< The id of the quest the status should be changed of.
    64 
    6571        private:
    66             void setQuestId(const std::string & id);
     72            std::string questId_; //!< The id of the Quest the status should be changed of.
     73           
     74            bool setQuestId(const std::string & id); //!< Sets the id of the Quest.
    6775
    6876    };
Note: See TracChangeset for help on using the changeset viewer.