Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2006, 1:12:19 AM (18 years ago)
Author:
patrick
Message:

cr: integraged the collision reaction into the main loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/collision_reaction/collision_handle.h

    r7946 r7947  
    3131    void addTarget(long classID);
    3232    void registerCollision(Collision* collision);
     33    /** @returns true if regiestered some new collision events in this tick frame */
     34    inline bool isCollided() const { return this->bCollided; }
    3335
    3436    void handleCollisions();
     
    4547    bool                          bDispatched;             //!< true if this handle has already been dispatched
    4648    bool                          bStopOnFirstCollision;   //!< true if the cd of this object should be terminated after one match
     49    bool                          bCollided;               //!< true if the CollsionHandle has registered some new collisions
    4750
    4851    std::vector<Collision*>       collisionList;           //!< a list full of collisions
Note: See TracChangeset for help on using the changeset viewer.