Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2008, 4:31:36 PM (15 years ago)
Author:
dafrick
Message:

Some cleanup…

File:
1 edited

Legend:

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

    r2205 r2251  
    3030    @file Quest.h
    3131    @brief
    32         Definition of the Quest class.
    33        
    34         The Quest is the parent class of LocalQuest and GlobalQuest.
     32    Definition of the Quest class.
     33   
     34    The Quest is the parent class of LocalQuest and GlobalQuest.
    3535*/
    3636 
     
    9090                { return this->parentQuest_; }
    9191               
    92             /**
    93             @brief Returns the list of subquests.
    94             @return Returns a reference to the list of subquests of the quest.
    95             */
     92        /**
     93        @brief Returns the list of subquests.
     94        @return Returns a reference to the list of subquests of the quest.
     95        */
    9696            inline const std::list<Quest*> & getSubQuestList(void) const
    9797                { return this->subQuests_; }
    9898               
    99             /**
    100             @brief Returns the list of all QuestHints of this Quest.
    101             @return Returns a reference to the list of QuestHints of the Quest.
    102             */
    103             inline const std::list<QuestHint*> & getHintsList(void) const
     99        /**
     100        @brief Returns the list of all QuestHints of this Quest.
     101        @return Returns a reference to the list of QuestHints of the Quest.
     102        */
     103        inline const std::list<QuestHint*> & getHintsList(void) const
    104104                { return this->hints_; }
    105105
     
    110110
    111111            bool start(PlayerInfo* player); //!< Sets a Quest to active.
    112             virtual bool fail(PlayerInfo* player) = 0; //!< Fails the Quest.
     112        virtual bool fail(PlayerInfo* player) = 0; //!< Fails the Quest.
    113113            virtual bool complete(PlayerInfo* player) = 0; //!< Completes the Quest.
    114114
     
    131131                { return this->failEffects_; }
    132132               
    133             /**
    134             @brief Returns the list of complete QuestEffects.
    135             @return Returns a reference to the list of complete QuestEffects.
    136             */
    137             inline std::list<QuestEffect*> & getCompleteEffectList(void)
     133        /**
     134        @brief Returns the list of complete QuestEffects.
     135        @return Returns a reference to the list of complete QuestEffects.
     136        */
     137        inline std::list<QuestEffect*> & getCompleteEffectList(void)
    138138                { return this->completeEffects_; }
    139139
     
    141141            virtual bool setStatus(PlayerInfo* player, const questStatus::Enum & status) = 0; //!< Changes the status for a specific player.
    142142           
    143         private:
     143    private:
    144144            Quest* parentQuest_; //!< Pointer to the parentquest.
    145145            std::list<Quest*> subQuests_; //!< List of all the subquests.
Note: See TracChangeset for help on using the changeset viewer.