- Timestamp:
- May 23, 2011, 2:26:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/projectiles/SimpleRocket.h
r7163 r8533 36 36 #include "graphics/ParticleSpawner.h" 37 37 38 #include "BasicProjectile.h" 39 38 40 namespace orxonox 39 41 { … … 46 48 Gabriel Nadler (Original file: Oli Scheuss) 47 49 */ 48 class _WeaponsExport SimpleRocket : public ControllableEntity 50 class _WeaponsExport SimpleRocket : public ControllableEntity, public BasicProjectile 49 51 { 50 52 public: … … 114 116 { return this->fuel_; } 115 117 116 inline void setDamage(float damage)118 /* inline void setDamage(float damage) 117 119 { this->damage_ = damage; } 118 120 inline float getDamage() const 119 121 { return this->damage_; } 120 122 */ 121 123 122 124 private: 123 125 WeakPtr<Pawn> owner_; 124 126 Vector3 localAngularVelocity_; 125 float damage_;126 bool bDestroy_;127 // float damage_; 128 // bool bDestroy_; 127 129 bool fuel_; //!< Bool is true while the rocket "has fuel" 128 130
Note: See TracChangeset
for help on using the changeset viewer.