Changeset 7102 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Feb 7, 2006, 8:56:57 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r6920 r7102 115 115 WorldEntity::loadParams(root); 116 116 117 LoadParam(root, "projectile", this, Weapon, setProjectileType )117 LoadParam(root, "projectile", this, Weapon, setProjectileTypeC) 118 118 .describe("Sets the name of the Projectile to load onto the Entity"); 119 119 … … 164 164 * @param projectile the Name of the Projectile. 165 165 */ 166 void Weapon::setProjectileType (const char* projectile)166 void Weapon::setProjectileTypeC(const char* projectile) 167 167 { 168 168 if (projectile == NULL) -
trunk/src/world_entities/weapons/weapon.h
r6920 r7102 111 111 inline long getCapability() const { return this->capability; }; 112 112 void setProjectileType(ClassID projectile); 113 void setProjectileType (const char* projectile);113 void setProjectileTypeC(const char* projectile); 114 114 /** @returns The projectile's classID */ 115 115 inline ClassID getProjectileType() { return this->projectile; };
Note: See TracChangeset
for help on using the changeset viewer.