Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2009, 7:38:45 PM (15 years ago)
Author:
landauf
Message:

nothing important

Location:
code/branches/libraries/src/orxonox/objects
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/libraries/src/orxonox/objects/quest/QuestListener.h

    r5648 r5687  
    6464        <BaseObject> // The object that should react to the status change of a Quest.
    6565            <events>
    66                 <function> // Where function is the method of the object that schould be executed. Normally this would be visibility or activity.
     66                <function> // Where function is the method of the object that should be executed. Normally this would be visibility or activity.
    6767                    <QuestListener questId="someQuestId" mode="someMode" /> // Where someQuestId is the identifier for the Quest the QuestListener is reacting to, and someMode is the kind of status change the QUestListener reacts to (all, start, complete or fail).
    6868                </function>
  • code/branches/libraries/src/orxonox/objects/worldentities/ForceField.h

    r5633 r5687  
    4343        ForceField(BaseObject* creator);
    4444        virtual ~ForceField();
    45         virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a CheckPoint object through XML.
     45        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4646        virtual void tick(float dt);
    4747
  • code/branches/libraries/src/orxonox/objects/worldentities/triggers/PlayerTrigger.h

    r3280 r5687  
    5252        PlayerTrigger(BaseObject* creator);
    5353        virtual ~PlayerTrigger();
    54        
     54
    5555        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a PlayerTrigger object through XML.
    56        
     56
    5757        /**
    5858        @brief Returns the player that triggered the PlayerTrigger.
     
    6161        inline Pawn* getTriggeringPlayer(void) const
    6262            { return this->player_; }
    63        
     63
    6464        /**
    6565        @brief Checks whether the PlayerTrigger normally returns a ControllableEntity.
     
    6868        inline bool isForPlayer(void) const
    6969           { return this->isForPlayer_; }
    70            
     70
    7171    protected:
    7272        virtual bool isTriggered(TriggerMode::Value mode) = 0;
    73        
     73
    7474        /**
    7575        @brief Set the player that triggered the PlayerTrigger. This is normally done by classes inheriting vom PlayerTrigger.
     
    8181            /**
    8282            @brief Set whether the PlayerTrigger normally is triggered by ControllableEntities.
    83             @param isForPlayer Should be true when the PlayerTrigger schould be set to normally be triggered by ControllableEntities, false if not.
     83            @param isForPlayer Should be true when the PlayerTrigger should be set to normally be triggered by ControllableEntities, false if not.
    8484            */
    8585        inline void setForPlayer(bool isForPlayer)
    8686           { this->isForPlayer_ = isForPlayer; }
    87        
     87
    8888    private:
    8989        Pawn* player_; //!< The player that triggered the PlayerTrigger.
    90         bool isForPlayer_; //!< Is true when the PlayerTrigger schould be set to normally be triggered by ControllableEntities.
    91    
     90        bool isForPlayer_; //!< Is true when the PlayerTrigger should be set to normally be triggered by ControllableEntities.
     91
    9292    };
    9393
Note: See TracChangeset for help on using the changeset viewer.