Changeset 4289 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- May 26, 2005, 12:49:50 AM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r4287 r4289 106 106 this->weaponMan->addWeapon(wpRight, W_CONFIG2); 107 107 this->weaponMan->addWeapon(wpLeft, W_CONFIG2); 108 109 BaseObject* p = new Projectile(wpRight);110 ObjectManager::getInstance()->cache(CL_PROJECTILE, 100, *p);111 ObjectManager::getInstance()->debug();112 113 108 } 114 109 -
orxonox/trunk/src/world_entities/test_gun.cc
r4287 r4289 32 32 #include "animation3d.h" 33 33 34 #include "object_manager.h" 34 35 35 36 using namespace std; … … 88 89 } 89 90 91 BaseObject* p = new TestBullet(this); 92 ObjectManager::getInstance()->cache(CL_TEST_BULLET, 100, *p); 93 ObjectManager::getInstance()->debug(); 90 94 } 91 95
Note: See TracChangeset
for help on using the changeset viewer.