Changeset 8043 in orxonox.OLD for branches/cr/src/lib
- Timestamp:
- May 31, 2006, 8:48:29 PM (19 years ago)
- Location:
- branches/cr/src/lib/collision_reaction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/collision_handle.cc
r8029 r8043 34 34 this->owner = owner; 35 35 this->type = type; 36 37 this->bCollided = false; 38 this->bContinuousPoll = false; 39 this->bDispatched = false; 40 this->bStopOnFirstCollision = false; 36 41 } 37 42 -
branches/cr/src/lib/collision_reaction/collision_handle.h
r8029 r8043 37 37 /** @returns true if this collision handle has already been dispatched */ 38 38 inline bool isDispatched() const { return this->bDispatched; } 39 /** @returns true if this handle should be pulled also if there are no collisions */ 40 inline bool isContinuousPoll() const { return this->bContinuousPoll; } 39 41 40 42 void handleCollisions(); … … 49 51 CREngine::CRType type; //!< the reaction type 50 52 53 bool bContinuousPoll; //!< if this is true 51 54 bool bDispatched; //!< true if this handle has already been dispatched 52 55 bool bStopOnFirstCollision; //!< true if the cd of this object should be terminated after one match
Note: See TracChangeset
for help on using the changeset viewer.