Changeset 5671 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc
- Timestamp:
- Nov 21, 2005, 3:50:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r5652 r5671 109 109 static_cast<WorldEntity*>(this)->loadParams(root); 110 110 111 LoadParam NEW(root, "projectile", this, Weapon, setProjectileType)111 LoadParam(root, "projectile", this, Weapon, setProjectileType) 112 112 .describe("Sets the name of the Projectile to load onto the Entity"); 113 113 114 LoadParam NEW(root, "emission-point", this, Weapon, setEmissionPoint)114 LoadParam(root, "emission-point", this, Weapon, setEmissionPoint) 115 115 .describe("Sets the Point of emission of this weapon"); 116 116 117 LoadParam NEW(root, "state-duration", this, Weapon, setStateDuration)117 LoadParam(root, "state-duration", this, Weapon, setStateDuration) 118 118 .describe("Sets the duration of a given state (1: state-Name; 2: duration in seconds)"); 119 119 120 LoadParam NEW(root, "action-sound", this, Weapon, setActionSound)120 LoadParam(root, "action-sound", this, Weapon, setActionSound) 121 121 .describe("Sets a given sound to an action (1: action-Name; 2: name of the sound (relative to the Data-Path))"); 122 122 }
Note: See TracChangeset
for help on using the changeset viewer.