Changeset 4652 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Jun 17, 2005, 10:15:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/test_gun.cc
r4597 r4652 97 97 this->weaponSource->setRolloffFactor(.1); 98 98 Projectile* p = new TestBullet(this); 99 ObjectManager::getInstance()->cache(CL_TEST_BULLET, 100, p);99 // ObjectManager::getInstance()->cache(CL_TEST_BULLET, 100, p); 100 100 //ObjectManager::getInstance()->debug(); 101 101 } … … 151 151 } 152 152 153 Projectile* pj =dynamic_cast<Projectile*>(ObjectManager::getInstance()->getFromDeadList(CL_TEST_BULLET & CL_MASK_LOWLEVEL_CLASS));153 Projectile* pj = new TestBullet(this);//dynamic_cast<Projectile*>(ObjectManager::getInstance()->getFromDeadList(CL_TEST_BULLET & CL_MASK_LOWLEVEL_CLASS)); 154 154 weaponSource->play(); 155 155
Note: See TracChangeset
for help on using the changeset viewer.