Changeset 9984 in orxonox.OLD for branches/coll_rect/src/lib/collision_reaction/cr_engine.cc
- Timestamp:
- Dec 2, 2006, 4:13:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/lib/collision_reaction/cr_engine.cc
r9895 r9984 134 134 135 135 136 /**137 * subscribes a WorldEntity for a CollisionReaction138 * @param owner: the WE to subscribe139 * @param type: the type of collision reaction to perform140 * @return the newly created CollisionHandle141 */142 // CollisionHandle* CREngine::subscribeReaction(WorldEntity* owner, ReactionType type)143 // {144 // CollisionHandle* ch = new CollisionHandle(owner, type);145 // this->collisionHandles.push_back(ch);146 //147 // return ch;148 // }149 136 150 151 /**152 * unsubscribe reaction from the reaction list153 * @param collisionHandle the CollisionHandle to remove154 * @param returns true if worked collrectly155 */156 // bool CREngine::unsubscribeReaction(CollisionHandle* collisionHandle)157 // {158 // std::vector<CollisionHandle*>::iterator it;159 // for( it = this->collisionHandles.begin(); it != this->collisionHandles.end(); it++)160 // {161 // if( *it == collisionHandle)162 // {163 // this->collisionHandles.erase(it);164 // delete collisionHandle;165 // return true;166 // }167 // }168 // return false;169 // }170 137 171 138
Note: See TracChangeset
for help on using the changeset viewer.