Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 2, 2010, 5:35:14 PM (15 years ago)
Author:
dafrick
Message:

Lua bugs fixed.
Renamed name and description in PickupRepresentation to pickupName and pickupDescription to avoid problems.
More work on PickupInventory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup4/src/modules/pickup/PickupRepresentation.h

    r6632 r6675  
    6868            @param name The name.
    6969            */
    70             inline void setName(const std::string& name)
     70            inline void setPickupName(const std::string& name)
    7171                { this->name_ = name; }
    7272            /**
     
    7474            @param description The Description.
    7575            */
    76             inline void setDescription(const std::string& description)
     76            inline void setPickupDescription(const std::string& description)
    7777                { this->description_ = description; }
    7878            /**
     
    107107            @return Returns the name.
    108108            */
    109             inline const std::string& getName(void) { return this->name_; } // tolua_export
     109            inline const std::string& getPickupName(void) { return this->name_; } // tolua_export
    110110            /**
    111111            @brief Get the description of the Pickupable represented by this PickupRepresentation.
    112112            @return Returns the description.
    113113            */
    114             inline const std::string& getDescription(void) { return this->description_; } // tolua_export
     114            inline const std::string& getPickupDescription(void) { return this->description_; } // tolua_export
    115115            /**
    116116            @brief Get the name of spawnerTemplate the Pickupable represented by this PickupRepresentation.
Note: See TracChangeset for help on using the changeset viewer.