- 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/SimpleRocket.h
r8578 r8579 23 23 * Oliver Scheuss 24 24 * Co-authors: 25 * simonmie25 * ... 26 26 * 27 27 */ … … 36 36 #include "graphics/ParticleSpawner.h" 37 37 38 #include "BasicProjectile.h"39 40 38 namespace orxonox 41 39 { … … 48 46 Gabriel Nadler (Original file: Oli Scheuss) 49 47 */ 50 class _WeaponsExport SimpleRocket : public ControllableEntity , public BasicProjectile48 class _WeaponsExport SimpleRocket : public ControllableEntity 51 49 { 52 50 public: … … 113 111 inline Pawn* getOwner() const 114 112 { return this->owner_; } 115 116 113 inline bool hasFuel() const 117 114 { return this->fuel_; } 115 116 inline void setDamage(float damage) 117 { this->damage_ = damage; } 118 inline float getDamage() const 119 { return this->damage_; } 118 120 119 121 … … 121 123 WeakPtr<Pawn> owner_; 122 124 Vector3 localAngularVelocity_; 125 float damage_; 126 bool bDestroy_; 123 127 bool fuel_; //!< Bool is true while the rocket "has fuel" 124 128
Note: See TracChangeset
for help on using the changeset viewer.