Changeset 10196 in orxonox.OLD for branches/playability/src/world_entities/projectiles/spike_ball.cc
- Timestamp:
- Jan 8, 2007, 9:46:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/spike_ball.cc
r10188 r10196 32 32 33 33 #include "weapons/weapon.h" 34 34 #include "../weapons/weapon_manager.h" 35 35 36 36 #include "class_id_DEPRECATED.h" … … 65 65 this->halo->setSize(2, 2); 66 66 this->halo->setTexture("hbolt_halo.png"); 67 /* 68 //this->weaponMan = new WeaponManager(dynamic_cast<WorldEntity*>(this));69 this->weaponMan .setParentEntity(this);67 68 this->weaponMan = new WeaponManager(dynamic_cast<WorldEntity*>(this)); 69 this->weaponMan->setParentEntity(this); 70 70 71 71 Weapon* cannon = new SpikeLauncher(); 72 72 cannon->setName( "SpikeLauncher"); 73 this->weaponMan .addWeapon(cannon, 0, 0);74 this->weaponMan .changeWeaponConfig(0);75 */ 73 this->weaponMan->addWeapon(cannon, 0, 0); 74 this->weaponMan->changeWeaponConfig(0); 75 76 76 77 77 } … … 177 177 178 178 if (this->tickLifeCycle(dt)){ 179 // this->blow();179 this->weaponMan->fire(); 180 180 this->deactivate(); 181 181 }
Note: See TracChangeset
for help on using the changeset viewer.