Changeset 7932 in orxonox.OLD for branches/cr/src/lib/collision_reaction/cr_engine.h
- Timestamp:
- May 28, 2006, 9:00:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/cr_engine.h
r7927 r7932 41 41 inline static CREngine* getInstance(void) { if (!singletonRef) singletonRef = new CREngine(); return singletonRef; }; 42 42 43 44 CollisionHandle* subscribeReaction(WorldEntity* worldEntity, CRType type, int nrOfTargets, ...); 43 CollisionHandle* subscribeReaction(WorldEntity* worldEntity, CRType type); 45 44 46 45 bool unsubscribeReaction(WorldEntity* worldEntity); … … 51 50 52 51 /** @returns an instance to a collision object. instead of creating new object this ones can be resycled */ 53 inline Collision* getCollisionObject() { /* return the first element of the cache list*/ }52 inline Collision* getCollisionObject() { /* return the first element of the cache list*/ } 54 53 /** @param collision: returns the Collision object back to the cache list */ 55 54 inline void putCollisionObject(Collision* collision) { this->cachedCollisions.push_back(collision); }
Note: See TracChangeset
for help on using the changeset viewer.