Changeset 10275 in orxonox.OLD for branches/ai/src/world_entities/npcs/npc_test.cc
- Timestamp:
- Jan 17, 2007, 7:05:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/world_entities/npcs/npc_test.cc
r10269 r10275 52 52 53 53 // create the weapons and their manager 54 this->addWeapon(wpLeft, 1, 0); 55 this->addWeapon(wpRight,1 ,1); 56 \ 54 55 57 56 this->getWeaponManager().changeWeaponConfig(1); 58 57 Weapon* wpRight = new TestGun(0); … … 60 59 Weapon* wpLeft = new TestGun(1); 61 60 wpLeft->setName("testGun Left"); 61 62 this->addWeapon(wpLeft, 1, 0); 63 this->addWeapon(wpRight,1 ,1); 62 64 63 65 this->setHealthMax(100);
Note: See TracChangeset
for help on using the changeset viewer.