Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8099 in orxonox.OLD for branches


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

cr: more bnla

Location:
branches/cr/src
Files:
3 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
  • branches/cr/src/world_entities/world_entity.h

    r8049 r8099  
    8484  inline bool isReactive() const { return this->bReactive; }
    8585
     86  const CollisionHandle* getCollisionHandle(CREngine::CRType type) const { return this->collisionHandles[type]; }
     87
    8688
    8789  /* @returns the Count of Faces on this WorldEntity */
Note: See TracChangeset for help on using the changeset viewer.