- Timestamp:
- Apr 23, 2015, 4:19:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponFS15/src/modules/weapons/projectiles/GravityBomb.h
r10369 r10391 64 64 virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint); 65 65 void detonate(); 66 67 66 private: 68 69 float velocityAtLastTick_; //Used to check wether the Object is already accelarating in the oposite direction to detect the time to detonate it.67 bool isDetonated_; //Used to check whether the Bomb has to be destroyed during next tick. 68 float timeToLife_; //Time the bomb flies before it explodes. 70 69 71 70 };
Note: See TracChangeset
for help on using the changeset viewer.