Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7937 in orxonox.OLD for branches/cr/src/lib


Ignore:
Timestamp:
May 28, 2006, 10:31:29 PM (19 years ago)
Author:
patrick
Message:

cr: some more functions prototypes and interface ext

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  
    2525 */
    2626CREngine::CREngine ()
     27  : BaseObject()
    2728{
    2829   this->setClassID(CL_CR_ENGINE, "CREngine");
     
    4647
    4748
    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 */
    4954CollisionHandle* CREngine::subscribeReaction(WorldEntity* owner, CRType type)
    5055{
     
    5257}
    5358
     59bool CREngine::unsubscribeReaction(WorldEntity* worldEntity)
     60{}
     61
     62
     63bool CREngine::unsubscribeReaction(CollisionHandle* collisionHandle)
     64{}
     65
     66
     67void CREngine::handleCollisions()
     68{}
    5469
    5570
  • branches/cr/src/lib/collision_reaction/cr_engine.h

    r7933 r7937  
    88
    99#include "base_object.h"
    10 #include <stdarg.h>
     10
    1111#include <vector>
    1212
     
    3939
    4040  /** @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; };
    4242
    4343  CollisionHandle* subscribeReaction(WorldEntity* worldEntity, CRType type);
     
    5858
    5959private:
    60   CREngine(void);
     60  CREngine();
    6161
    6262
Note: See TracChangeset for help on using the changeset viewer.