Changeset 9980 in orxonox.OLD for branches/coll_rect/src/world_entities
- Timestamp:
- Dec 2, 2006, 2:43:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/world_entities/world_entity.h
r9939 r9980 92 92 /** @return true if there is at least on collision reaction subscribed */ 93 93 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 */ 94 96 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 95 101 96 102 const CoRe::CollisionFilter& getCollisionFilter(CoRe::CREngine::ReactionType type) const { return this->_collisionFilter; }
Note: See TracChangeset
for help on using the changeset viewer.