Changeset 8106 in orxonox.OLD for branches/cr/src/lib/collision_reaction/collision_handle.cc
- Timestamp:
- Jun 1, 2006, 10:27:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/collision_handle.cc
r8099 r8106 17 17 #include "collision_handle.h" 18 18 19 #include "world_entity.h" 19 20 20 21 #include "collision.h" … … 95 96 this->collisionList.push_back(c); 96 97 98 // now register it as a shared collision with the other collision entity 99 CollisionHandle* ch = entityB->getCollisionHandle(this->type); 100 ch->registerSharedCollision(c); 101 97 102 return c; 98 103 } … … 105 110 * Therefore dispatching it only once 106 111 */ 107 void CollisionHandle::register Collision(Collision* collision)112 void CollisionHandle::registerSharedCollision(Collision* collision) 108 113 { 114 // set the state to not dispatched 115 this->bDispatched = false; 109 116 117 this->collisionList.push_back(collision); 110 118 } 111 119
Note: See TracChangeset
for help on using the changeset viewer.