Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2010, 9:07:08 AM (15 years ago)
Author:
dafrick
Message:

Some cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ppspickups2/src/modules/pickup/items/InvisiblePickup.h

    r6641 r6708  
    6464            virtual void clone(OrxonoxClass*& item); //!< Creates a duplicate of the input OrxonoxClass.
    6565           
    66              /**
    67             @brief Checks wether the Pawn is invisible.
     66            /**
     67            @brief Checks whether the Pawn is invisible.
    6868            @return Returns if the Pawn is invisible.
    6969            */
    7070            inline bool getInvisibility(bool)
    7171                { return this->invisible_; }
    72             inline float getDuration()
    73                 {return this->duration_;}
     72            inline float getDuration()
     73                { return this->duration_; }
    7474 
    7575        protected:
    76             bool setInvisible(bool invisibility); //!< Set the Pawn to be invisible or visible again.
    77             void setDuration(float duration);
    78             void initializeIdentifier(void);
     76            bool setInvisible(bool invisibility); //!< Set the Pawn to be invisible or visible again.
     77            void setDuration(float duration);
     78            void initializeIdentifier(void);
     79            virtual void pickupTimerCallback(void); //!< Function that gets called when the timer ends.
    7980       
    8081        private:
    81            void initialize(void); //!< Initializes the member variables.
     82            void initialize(void); //!< Initializes the member variables.
    8283            Pawn* carrierToPawnHelper(void); //!< Helper to transform the PickupCarrier to a Pawn, and throw an error message if the conversion fails.
    83             void PickupTimerCallBack(void); //!< Function that gets called when the timer ends.
    84             bool invisible_; //!< Helper to remember wether the Pawn is invisible.
    85             float duration_; //! Duration of invisibility.
     84            bool invisible_; //!< Helper to remember wether the Pawn is invisible.
     85            float duration_; //! Duration of invisibility.
    8686    };
    8787}
Note: See TracChangeset for help on using the changeset viewer.