Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

cr: some more functions prototypes and interface ext

Location:
branches/cr/src
Files:
3 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
  • branches/cr/src/world_entities/world_entity.cc

    r7933 r7937  
    3232#include "camera.h"
    3333
    34 #include "cr_engine.h"
    3534#include "collision_handle.h"
    3635
Note: See TracChangeset for help on using the changeset viewer.