Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7843 in orxonox.OLD for trunk/src/lib/collision_reaction


Ignore:
Timestamp:
May 24, 2006, 11:17:59 PM (19 years ago)
Author:
bensch
Message:

compiles

File:
1 edited

Legend:

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

    r7842 r7843  
    4646
    4747  /** @returns an instance to a collision object. instead of creating new object this ones can be resycled */
    48   inline Collision* getCollisionObject() { /* return the first element of the cache list*/ }
     48inline Collision* getCollisionObject() { /* return the first element of the cache list*/ }
    4949  /** @param collision: returns the Collision object back to the cache list */
    5050  inline void putCollisionObject(Collision* collision) { this->cachedCollisions.push_back(collision); }
     
    5252
    5353private:
    54   CREngine(void);
    55   static CREngine*                    singletonRef;             //!< the reference to the CREngine object (singleton)
    5654
    5755  std::vector<CollisionHandle*>       collisionHandles;         //!< list with the collision handles
    5856  std::vector<Collision*>             cachedCollisions;         //!< a list of unused, cached collision events
    5957#endif
     58private:
     59  CREngine(void);
     60  static CREngine*                    singletonRef;             //!< the reference to the CREngine object (singleton)
    6061};
    6162
Note: See TracChangeset for help on using the changeset viewer.