Changeset 7177 in orxonox.OLD for branches/shared_lib/src/world_entities/creatures/md2_creature.cc
- Timestamp:
- Feb 22, 2006, 12:34:43 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/shared_lib/src/world_entities/creatures/md2_creature.cc
r7078 r7177 26 26 27 27 #include "weapons/weapon_manager.h" 28 #include "weapons/test_gun.h"29 #include "weapons/turret.h"30 #include "weapons/cannon.h"31 28 32 29 #include "factory.h" … … 80 77 81 78 //weapons: 82 Weapon* wpRight = new TestGun(0);83 wpRight->setName("testGun Right");84 Weapon* wpLeft = new TestGun(1);85 wpLeft->setName("testGun Left");86 Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_CANNON));87 88 cannon->setName("BFG");89 90 this->getWeaponManager()->addWeapon(wpLeft, 1, 0);91 this->getWeaponManager()->addWeapon(wpRight,1 ,1);79 // Weapon* wpRight = new TestGun(0); 80 // wpRight->setName("testGun Right"); 81 // Weapon* wpLeft = new TestGun(1); 82 // wpLeft->setName("testGun Left"); 83 // Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_CANNON)); 84 85 // cannon->setName("BFG"); 86 87 //this->getWeaponManager()->addWeapon(wpLeft, 1, 0); 88 //this->getWeaponManager()->addWeapon(wpRight,1 ,1); 92 89 // this->getWeaponManager()->addWeapon(cannon, 0, 6); 93 90
Note: See TracChangeset
for help on using the changeset viewer.