Changeset 9869 in orxonox.OLD for trunk/src/world_entities/power_ups/laser_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/laser_power_up.cc
r9406 r9869 24 24 25 25 26 27 CREATE_FACTORY(LaserPowerUp, CL_LASER_POWER_UP); 26 #include "class_id_DEPRECATED.h" 27 ObjectListDefinitionID(LaserPowerUp, CL_LASER_POWER_UP); 28 CREATE_FACTORY(LaserPowerUp); 28 29 29 30 LaserPowerUp::LaserPowerUp () : PowerUp(0.0, 1.0, 0.0) … … 49 50 void LaserPowerUp::init() 50 51 { 51 this-> setClassID(CL_LASER_POWER_UP, "LaserPowerUp");52 this->registerObject(this, LaserPowerUp::_objectList); 52 53 this->loadModel("models/guns/test_gun.obj", 2.0); 53 54
Note: See TracChangeset
for help on using the changeset viewer.