Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7865 in orxonox.OLD for trunk/src/lib/collision_reaction/cr_engine.h


Ignore:
Timestamp:
May 25, 2006, 11:29:55 PM (19 years ago)
Author:
patrick
Message:

trunk: removed compiler error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_reaction/cr_engine.h

    r7843 r7865  
    88
    99#include "base_object.h"
     10#include <stdarg.h>
     11#include <vector>
    1012
    1113// FORWARD DECLARATION
    1214class CollisionHandle;
    1315class Collision;
     16class WorldEntity;
    1417
    1518//! A default singleton class.
    1619class CREngine : public BaseObject
    1720{
    18 #if 0
     21
    1922  typedef enum CRType {
    2023    CR_CONSERVATION_OF_MOMENTUM   = 0,
     
    2932    CR_NUMBER
    3033  };
    31 #endif
     34
    3235
    3336public:
     
    3639  inline static CREngine* getInstance(void) { if (!singletonRef) singletonRef = new CREngine();  return singletonRef; };
    3740
    38 #if 0
     41
    3942  CollisionHandle* subscribeReaction(WorldEntity* worldEntity, CRType type, int nrOfTargets, ...);
    4043
     
    5255
    5356private:
     57  CREngine(void);
    5458
     59private:
    5560  std::vector<CollisionHandle*>       collisionHandles;         //!< list with the collision handles
    5661  std::vector<Collision*>             cachedCollisions;         //!< a list of unused, cached collision events
    57 #endif
    58 private:
    59   CREngine(void);
     62  std::vector<int>                    targetList;
     63
    6064  static CREngine*                    singletonRef;             //!< the reference to the CREngine object (singleton)
    6165};
Note: See TracChangeset for help on using the changeset viewer.