- Timestamp:
- Feb 4, 2016, 11:54:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/projectiles/BasicProjectile.h
r11099 r11108 119 119 bool processCollision(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs); 120 120 void destroyCheck(void); 121 inline void setDestroyAfterCollision(bool destroyAfterCollision) 122 { destroyAfterCollision_ = destroyAfterCollision; } 123 inline bool getDestroyAfterCollision() const 124 { return destroyAfterCollision_; } 121 125 122 126 private: … … 130 134 131 135 bool bDestroy_; //!< Boolean, to check whether a projectile should be destroyed. 136 bool destroyAfterCollision_; //!< Boolean, defines whether the projectile gets detroyed after a collision. 132 137 }; 133 138 }
Note: See TracChangeset
for help on using the changeset viewer.