Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 8, 2012, 5:26:04 PM (12 years ago)
Author:
landauf
Message:

renamed some functions where enums are converted to/from strings for XMLPort to make it more obvious where the value is actually set and where it is only converted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/pickup/items/HealthPickup.h

    r7551 r9312  
    116116            @return Returns the health type as an enum.
    117117            */
    118             inline pickupHealthType::Value getHealthTypeDirect(void) const
     118            inline pickupHealthType::Value getHealthType(void) const
    119119                { return this->healthType_; }
    120             const std::string& getHealthType(void) const; //!< Get the health type of this pickup.
     120            const std::string& getHealthTypeAsString(void) const; //!< Get the health type of this pickup.
    121121
    122122        protected:
     
    130130            @param type The type of this pickup as an enum.
    131131            */
    132             inline void setHealthTypeDirect(pickupHealthType::Value type)
     132            inline void setHealthType(pickupHealthType::Value type)
    133133                { this->healthType_ = type; }
    134             void setHealthType(std::string type); //!< Set the type of the HealthPickup.
     134            void setHealthTypeAsString(const std::string& type); //!< Set the type of the HealthPickup.
    135135
    136136        private:
Note: See TracChangeset for help on using the changeset viewer.