Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7102 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Feb 7, 2006, 8:56:57 PM (18 years ago)
Author:
bensch
Message:

power ups can only be picked up once

Location:
trunk/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.cc

    r6920 r7102  
    115115  WorldEntity::loadParams(root);
    116116
    117   LoadParam(root, "projectile", this, Weapon, setProjectileType)
     117  LoadParam(root, "projectile", this, Weapon, setProjectileTypeC)
    118118  .describe("Sets the name of the Projectile to load onto the Entity");
    119119
     
    164164 * @param projectile the Name of the Projectile.
    165165 */
    166 void Weapon::setProjectileType(const char* projectile)
     166void Weapon::setProjectileTypeC(const char* projectile)
    167167{
    168168  if (projectile == NULL)
  • trunk/src/world_entities/weapons/weapon.h

    r6920 r7102  
    111111    inline long getCapability() const { return this->capability; };
    112112    void setProjectileType(ClassID projectile);
    113     void setProjectileType(const char* projectile);
     113    void setProjectileTypeC(const char* projectile);
    114114    /** @returns The projectile's classID */
    115115    inline ClassID getProjectileType() { return this->projectile; };
Note: See TracChangeset for help on using the changeset viewer.