- Timestamp:
- Nov 17, 2009, 10:57:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/particles2/src/modules/weapons/projectiles/Rocket.h
r6079 r6082 110 110 inline float getDamage() const 111 111 { return this->damage_; } 112 virtual void fire(unsigned int firemode) { }112 virtual void fire(unsigned int firemode) { this->destroy(); } 113 113 114 114 private: … … 122 122 CameraPosition* camPosition_; 123 123 ConeCollisionShape* collisionShape_; 124 PlayerInfo* player_; 124 125 Timer destroyTimer_; 125 126 float lifetime_;
Note: See TracChangeset
for help on using the changeset viewer.