Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9980 in orxonox.OLD for branches/coll_rect/src/world_entities


Ignore:
Timestamp:
Dec 2, 2006, 2:43:13 PM (18 years ago)
Author:
patrick
Message:

collision reaction revisited: starting end run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/coll_rect/src/world_entities/world_entity.h

    r9939 r9980  
    9292  /** @return true if there is at least on collision reaction subscribed */
    9393  inline bool isReactive() const { return this->bReactive; }
     94
     95  /** @param worldEntity the world entity to be checked @returns true if there is a collisionreaction registered for the worldEntity */
    9496  inline bool isReactive( const WorldEntity& worldEntity) const { return this->isReactive() || (this->_collisionFilter(worldEntity)); }
     97  /** @param worldEntity the world entity to be checked @param type special reaction type @returns true if collision reaction reg. */
     98  inline bool isReactive( const WorldEntity& worldEntity, CoRe::ReactionType type) const
     99  { return this->isReactive() || (this->_collisionFilter(worldEntity, type)); }
     100
    95101
    96102  const CoRe::CollisionFilter& getCollisionFilter(CoRe::CREngine::ReactionType type) const { return this->_collisionFilter; }
Note: See TracChangeset for help on using the changeset viewer.