Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5257 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Sep 25, 2005, 7:04:28 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: bouncy effect with physically based animations… or something like it at least.

Location:
trunk/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/test_bullet.cc

    r5063 r5257  
    5959}
    6060
    61 
     61void TestBullet::collidesWith(WorldEntity* entity, const Vector& location)
     62{
     63  this->destroy();
     64}
    6265
    6366/**
     
    7982//      this->finalize();
    8083      GarbageCollector::getInstance()->collect(this);
    81       this->lifeCycle = 0.0;
    82 
     84      this->lifeCycle = 0.0; //! @todo should not be here
    8385    }
    8486}
     
    8890*/
    8991void TestBullet::destroy ()
    90 {}
     92{
     93
     94
     95}
    9196
    9297
  • trunk/src/world_entities/weapons/test_bullet.h

    r4932 r5257  
    1818  virtual ~TestBullet ();
    1919
     20  virtual void collidesWith(WorldEntity* entity, const Vector& location);
    2021  virtual void destroy ();
    2122
Note: See TracChangeset for help on using the changeset viewer.