Changeset 5257 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Sep 25, 2005, 7:04:28 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/test_bullet.cc
r5063 r5257 59 59 } 60 60 61 61 void TestBullet::collidesWith(WorldEntity* entity, const Vector& location) 62 { 63 this->destroy(); 64 } 62 65 63 66 /** … … 79 82 // this->finalize(); 80 83 GarbageCollector::getInstance()->collect(this); 81 this->lifeCycle = 0.0; 82 84 this->lifeCycle = 0.0; //! @todo should not be here 83 85 } 84 86 } … … 88 90 */ 89 91 void TestBullet::destroy () 90 {} 92 { 93 94 95 } 91 96 92 97 -
trunk/src/world_entities/weapons/test_bullet.h
r4932 r5257 18 18 virtual ~TestBullet (); 19 19 20 virtual void collidesWith(WorldEntity* entity, const Vector& location); 20 21 virtual void destroy (); 21 22
Note: See TracChangeset
for help on using the changeset viewer.