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