Changeset 9889 in orxonox.OLD for branches/coll_rect/src/world_entities/world_entity.h
- Timestamp:
- Oct 13, 2006, 3:57:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/world_entities/world_entity.h
r9888 r9889 82 82 83 83 /* --- Collision Reaction Block --- */ 84 void subscribeReaction(CREngine::CRType type); 85 void subscribeReaction(CREngine::CRType type, const ClassID& target1); 86 void subscribeReaction(CREngine::CRType type, const ClassID& target1, const ClassID& target2); 87 void subscribeReaction(CREngine::CRType type, const ClassID& target1, const ClassID& target2, const ClassID& target3); 88 void subscribeReaction(CREngine::CRType type, const ClassID& target1, const ClassID& target2, const ClassID& target3, const ClassID& target4); 89 90 void unsubscribeReaction(CREngine::CRType type); 84 void subscribeReaction(CoRe::CREngine::CRType type); 85 void subscribeReaction(CoRe::CREngine::CRType type, const ClassID& target1); 86 void subscribeReaction(CoRe::CREngine::CRType type, const ClassID& target1, const ClassID& target2); 87 void subscribeReaction(CoRe::CREngine::CRType type, const ClassID& target1, const ClassID& target2, const ClassID& target3); 88 89 void unsubscribeReaction(CoRe::CREngine::CRType type); 91 90 void unsubscribeReaction(); 92 91 … … 96 95 inline bool isReactive() const { return this->bReactive; } 97 96 98 Co llisionHandle* getCollisionHandle(CREngine::CRType type) const { return this->collisionHandles[type]; }97 CoRe::CollisionHandle* getCollisionHandle(CoRe::CREngine::CRType type) const { return this->collisionHandles[type]; } 99 98 100 99 /** @returns true if this entity is standing on ground (BSP model) */ … … 212 211 int healthMax_handle; 213 212 214 Co llisionHandle* collisionHandles[CREngine::CR_NUMBER]; //!< the list of the collision reactions213 CoRe::CollisionHandle* collisionHandles[CoRe::CREngine::CR_NUMBER]; //!< the list of the collision reactions 215 214 bool bReactive; //!< true if there is at least one collision reaction subscibed 215 216 216 217 217 PhysicsInterface physicsInterface; //!< the physics object of the WorldEntity
Note: See TracChangeset
for help on using the changeset viewer.