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/LocalQuest.cc

    r2159 r2191  
    7777    /**
    7878    @brief
    79         Fails the quest for a given player.
     79        Fails the Quest for a given player.
    8080        Invokes all the failEffects on the player.
    8181    @param player
    8282        The player.
    8383    @return
    84         Returns true if the quest could be failed, false if not.
     84        Returns true if the Quest could be failed, false if not.
    8585    */
    8686    bool LocalQuest::fail(ControllableEntity* player)
     
    9999    /**
    100100    @brief
    101         Completes the quest for a given player.
    102         Invokes all the completeEffects on the player.
     101        Completes the Quest for a given player.
     102        Invokes all the complete QuestEffects on the player.
    103103    @param player
    104104        The player.
    105105    @return
    106         Returns true if the quest could be completed, false if not.
     106        Returns true if the Quest could be completed, false if not.
    107107    */
    108108    bool LocalQuest::complete(ControllableEntity* player)
    109109    {
    110         if(this->isCompletable(player)) //!< Checks whether the quest can be completed.
     110        if(this->isCompletable(player)) //!< Checks whether the Quest can be completed.
    111111        {
    112112            this->setStatus(player, questStatus::completed);
    113             QuestEffect::invokeEffects(player, this->getCompleteEffectList()); //!< Invoke the completeEffects.
     113            QuestEffect::invokeEffects(player, this->getCompleteEffectList()); //!< Invoke the complete QuestEffects.
    114114            return true;
    115115        }
     
    121121    /**
    122122    @brief
    123         Checks whether the quest can be started.
     123        Checks whether the Quest can be started.
    124124    @param player
    125125        The player for whom is to be checked.
    126126    @return
    127         Returns true if the quest can be started, false if not.
     127        Returns true if the Quest can be started, false if not.
    128128    @throws
    129129        Throws an exception if isInactive(ControllableEntity*) throws one.
     
    136136    /**
    137137    @brief
    138         Checks whether the quest can be failed.
     138        Checks whether the Quest can be failed.
    139139    @param player
    140140        The player for whom is to be checked.
    141141    @return
    142         Returns true if the quest can be failed, false if not.
     142        Returns true if the Quest can be failed, false if not.
    143143    @throws
    144144        Throws an exception if isActive(ControllableEntity*) throws one.
     
    151151    /**
    152152    @brief
    153         Checks whether the quest can be completed.
     153        Checks whether the Quest can be completed.
    154154    @param player
    155155        The player for whom is to be checked.
    156156    @return
    157         Returns true if the quest can be completed, false if not.
     157        Returns true if the Quest can be completed, false if not.
    158158    @throws
    159159        Throws an exception if isInactive(ControllableEntity*) throws one.
     
    166166    /**
    167167    @brief
    168         Returns the status of the quest for a specific player.
     168        Returns the status of the Quest for a specific player.
    169169    @param player
    170170        The player.
    171171    @return
    172         Returns the status of the quest for the input player.
     172        Returns the status of the Quest for the input player.
    173173    @throws
    174174        Throws an Exception if player is NULL.
Note: See TracChangeset for help on using the changeset viewer.