- Timestamp:
- May 25, 2011, 9:28:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/modules/weapons/projectiles/Rocket.h
r8578 r8579 23 23 * Oliver Scheuss 24 24 * Co-authors: 25 * simonmie25 * ... 26 26 * 27 27 */ … … 34 34 #include "tools/Timer.h" 35 35 #include "worldentities/ControllableEntity.h" 36 37 #include "BasicProjectile.h"38 36 39 37 namespace orxonox … … 48 46 Oli Scheuss 49 47 */ 50 class _WeaponsExport Rocket : public ControllableEntity , public BasicProjectile48 class _WeaponsExport Rocket : public ControllableEntity 51 49 { 52 50 public: … … 111 109 { return this->owner_; } 112 110 111 inline void setDamage(float damage) 112 { this->damage_ = damage; } 113 inline float getDamage() const 114 { return this->damage_; } 113 115 virtual void fired(unsigned int firemode); 114 116 … … 116 118 WeakPtr<Pawn> owner_; 117 119 Vector3 localAngularVelocity_; 120 float damage_; 121 bool bDestroy_; 118 122 119 123 WeakPtr<PlayerInfo> player_;
Note: See TracChangeset
for help on using the changeset viewer.