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/ChangeQuestStatus.h

    r2159 r2191  
    4747    /**
    4848    @brief
    49         An effect which changes a quests status of a specified quest for the player invoking the effect.
     49        A QuestEffect which changes the status of a specified Quest for the player invoking the QuestEffect.
    5050    @author
    5151        Damian 'Mozork' Frick
     
    5959            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a ChangeQuestStatus object through XML.
    6060
    61             virtual bool invoke(ControllableEntity* player) = 0; //!< Invokes the effect.
     61            virtual bool invoke(ControllableEntity* player) = 0; //!< Invokes the QuestEffect.
    6262
    6363        protected:
    64             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
    6569                { return this->questId_; }
    6670
    6771        private:
    68             std::string questId_; //!< The id of the quest the status should be changed of.
     72            std::string questId_; //!< The id of the Quest the status should be changed of.
    6973           
    70             void setQuestId(const std::string & id); //!< Sets the quest id.
     74            bool setQuestId(const std::string & id); //!< Sets the id of the Quest.
    7175
    7276    };
Note: See TracChangeset for help on using the changeset viewer.