Changeset 7989 in orxonox.OLD for branches/cr/src/lib/collision_reaction/collision_handle.cc
- Timestamp:
- May 30, 2006, 7:23:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/collision_handle.cc
r7973 r7989 34 34 this->owner = owner; 35 35 this->type = type; 36 37 this->targetList.clear();38 36 } 39 37 … … 60 58 * @param classID the classid to look for 61 59 */ 62 void CollisionHandle::addTarget(long classID)60 void CollisionHandle::addTarget(long target) 63 61 { 64 printf("addTarget: %i this is target nr %i\n", classID, this->targetList.size());62 PRINTF(0)("addTarget: %i \n", target); 65 63 // make sure there is no dublicate 66 64 // for(int i = 0; i < this->targetList.size(); ++i) … … 73 71 // return; 74 72 73 75 74 // add element 76 this->targetList.push_back( classID);75 this->targetList.push_back(target); 77 76 } 78 77
Note: See TracChangeset
for help on using the changeset viewer.