Changeset 4464 in orxonox.OLD for orxonox/trunk/src/world_entities/test_gun.cc
- Timestamp:
- Jun 2, 2005, 1:18:44 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/test_gun.cc
r4391 r4464 145 145 146 146 Projectile* pj = dynamic_cast<Projectile*>(ObjectManager::getInstance()->getFromDeadList(CL_TEST_BULLET)); 147 148 //printf( "object ref %p\n", ObjectManager::getInstance()->getFromDeadList(CL_TEST_BULLET));149 150 //Projectile* pj = new TestBullet(this);151 147 pj->setAbsCoor(this->getAbsCoor() + this->projectileOffset); 152 148 pj->setAbsDir(this->getAbsDir()); 153 pj->setFlightDirection(this->getAbsDir()); 154 pj->setSpeed(this->getSpeed()); 149 pj->setVelocity(this->getVelocity()); 155 150 this->worldEntities->add(pj); 156 151 this->localTime = 0;
Note: See TracChangeset
for help on using the changeset viewer.