Changeset 9869 in orxonox.OLD for trunk/src/world_entities/power_ups/turret_power_up.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/turret_power_up.cc
r9406 r9869 24 24 25 25 26 27 CREATE_FACTORY(TurretPowerUp, CL_TURRET_POWER_UP); 26 #include "class_id_DEPRECATED.h" 27 ObjectListDefinitionID(TurretPowerUp, CL_TURRET_POWER_UP); 28 CREATE_FACTORY(TurretPowerUp); 28 29 29 30 TurretPowerUp::TurretPowerUp(const TiXmlElement* root) : PowerUp(0.0, 1.0, 0.0) … … 45 46 void TurretPowerUp::init() 46 47 { 47 this-> setClassID(CL_TURRET_POWER_UP, "TurretPowerUp");48 this->registerObject(this, TurretPowerUp::_objectList); 48 49 this->loadModel("models/guns/turret1.obj", 2.0); 49 50
Note: See TracChangeset
for help on using the changeset viewer.