Changeset 9705 in orxonox.OLD for branches/new_class_id/src/world_entities/power_ups/weapon_power_up.cc
- Timestamp:
- Aug 25, 2006, 9:44:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/power_ups/weapon_power_up.cc
r9406 r9705 27 27 28 28 29 29 #include "class_id.h" 30 30 CREATE_FACTORY(WeaponPowerUp, CL_WEAPON_POWER_UP); 31 NewObjectListDefinitionID(WeaponPowerUp, CL_WEAPON_POWER_UP); 31 32 32 33 WeaponPowerUp::WeaponPowerUp(const TiXmlElement* root) : PowerUp(1.0, 1.0, 0.0) … … 45 46 void WeaponPowerUp::init() 46 47 { 47 this-> setClassID(CL_WEAPON_POWER_UP, "WeaponPowerUp");48 this->registerObject(this, WeaponPowerUp::_objectList); 48 49 this->loadPickupSound("sound/powerups/whats this2.wav"); 49 50
Note: See TracChangeset
for help on using the changeset viewer.