Changeset 8106 in orxonox.OLD for branches/cr/src/lib/collision_reaction/collision.h
- Timestamp:
- Jun 1, 2006, 10:27:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/collision.h
r8029 r8106 30 30 /** @return Collision WorldEntity B */ 31 31 inline WorldEntity* getEntityB() const { return this->entityB; } 32 /** @return true if Entity A collides */ 33 inline bool isEntityACollide() { return this->entityACollide; } 34 /** @return true if Entity B collides */ 35 inline bool isEntityBCollide() { return this->entityBCollide; } 32 36 33 37 /** @returns true if this Collision has already been dispatched */ … … 38 42 /** @returns a vector of collision events */ 39 43 inline const std::vector<CollisionEvent*>& getCollisionEvents() const { return this->collisionEvents; } 44 45 40 46 41 47 void handleCollisionEvents(); … … 49 55 WorldEntity* entityA; //!< the collision body A 50 56 WorldEntity* entityB; //!< the collision body B 57 bool entityACollide; //!< true if entity A is subscribed for collision reaction 58 bool entityBCollide; //!< true if entity B is subscribed for collision reaction 51 59 52 60 bool bDispatched; //!< true if this collision has already been dispatched
Note: See TracChangeset
for help on using the changeset viewer.