Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8099 in orxonox.OLD for branches/cr/src/lib


Ignore:
Timestamp:
Jun 1, 2006, 6:47:16 PM (19 years ago)
Author:
patrick
Message:

cr: more bnla

Location:
branches/cr/src/lib/collision_reaction
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/collision_reaction/collision_handle.cc

    r8043 r8099  
    100100
    101101/**
     102 * register a Collision to the Collision handle.
     103 *  @param collision
     104 * This is used for internal collision registration: sharing the collision objects between Collision Reactions
     105 * Therefore dispatching it only once
     106 */
     107void CollisionHandle::registerCollision(Collision* collision)
     108{
     109
     110}
     111
     112
     113/**
    102114 * this is the function to be called on a collision event for this handle
    103115 *  @param collision the collision objects containing all collision informations
     
    111123 Collision* c = this->registerCollision(collisionEvent->getEntityA(), collisionEvent->getEntityB());
    112124 c->registerCollisionEvent(collisionEvent);
     125
    113126}
    114127
  • branches/cr/src/lib/collision_reaction/collision_handle.h

    r8043 r8099  
    3131    void addTarget(long target);
    3232    Collision* registerCollision(WorldEntity* entityA, WorldEntity* entityB);
     33    void registerCollision(Collision* collision);
    3334    void registerCollisionEvent(CollisionEvent* collisionEvent);
    3435
Note: See TracChangeset for help on using the changeset viewer.