Changeset 7937 in orxonox.OLD for branches/cr/src/lib
- Timestamp:
- May 28, 2006, 10:31:29 PM (19 years ago)
- Location:
- branches/cr/src/lib/collision_reaction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/cr_engine.cc
r7933 r7937 25 25 */ 26 26 CREngine::CREngine () 27 : BaseObject() 27 28 { 28 29 this->setClassID(CL_CR_ENGINE, "CREngine"); … … 46 47 47 48 48 49 /** 50 * subscribes a WorldEntity for a CollisionReaction 51 * @param owner: the WE to subscribe 52 * @param type: the type of collision reaction to perform 53 */ 49 54 CollisionHandle* CREngine::subscribeReaction(WorldEntity* owner, CRType type) 50 55 { … … 52 57 } 53 58 59 bool CREngine::unsubscribeReaction(WorldEntity* worldEntity) 60 {} 61 62 63 bool CREngine::unsubscribeReaction(CollisionHandle* collisionHandle) 64 {} 65 66 67 void CREngine::handleCollisions() 68 {} 54 69 55 70 -
branches/cr/src/lib/collision_reaction/cr_engine.h
r7933 r7937 8 8 9 9 #include "base_object.h" 10 #include <stdarg.h> 10 11 11 #include <vector> 12 12 … … 39 39 40 40 /** @returns a Pointer to the only object of this Class */ 41 inline static CREngine* getInstance( void) { if (!singletonRef) singletonRef = new CREngine(); return singletonRef; };41 inline static CREngine* getInstance() { if (!singletonRef) singletonRef = new CREngine(); return singletonRef; }; 42 42 43 43 CollisionHandle* subscribeReaction(WorldEntity* worldEntity, CRType type); … … 58 58 59 59 private: 60 CREngine( void);60 CREngine(); 61 61 62 62
Note: See TracChangeset
for help on using the changeset viewer.