Changeset 3683 in orxonox.OLD for orxonox/trunk/src/world_entities/test_gun.cc
- Timestamp:
- Mar 30, 2005, 9:37:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/test_gun.cc
r3677 r3683 41 41 TestGun::TestGun (PNode* parent, Vector* coordinate, Quaternion* direction) 42 42 : Weapon (parent, coordinate, direction) 43 {} 43 { 44 } 44 45 45 46 … … 83 84 { 84 85 //printf("TestGun::fire() - firing weapon now ---------------------------\n"); 85 Projectile* pj = new Projectile( );86 Projectile* pj = new Projectile(this); 86 87 87 88 Vector* v = new Vector(); … … 93 94 94 95 pj->setFlightDirection(q); 95 //pj->setSpeed(this->getSpeed() * 0.025);96 pj->setSpeed(this->getSpeed()); 96 97 97 98
Note: See TracChangeset
for help on using the changeset viewer.