Changeset 5840 for code/branches/tutorial/src/orxonox/worldentities
- Timestamp:
- Sep 30, 2009, 12:56:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial/src/orxonox/worldentities/Drone.h
r5835 r5840 100 100 { this->rotateRoll(Vector2(value, 0)); } 101 101 102 void setPrimaryThrust( float thrust ){ this->primaryThrust_=thrust; } 103 void setAuxilaryThrust( float thrust ){ this->auxilaryThrust_=thrust; } 104 void setRotationThrust( float thrust ){ this->rotationThrust_=thrust; } 102 /** 103 @brief Sets the primary thrust to the input amount. 104 @param thrust The amount of thrust. 105 */ 106 inline void setPrimaryThrust( float thrust ) 107 { this->primaryThrust_=thrust; } 108 inline void setAuxilaryThrust( float thrust ) 109 { this->auxilaryThrust_=thrust; } 110 inline void setRotationThrust( float thrust ) 111 { this->rotationThrust_=thrust; } 105 112 106 float getPrimaryThrust(){ return this->primaryThrust_; } 107 float getAuxilaryThrust(){ return this->auxilaryThrust_; } 108 float getRotationThrust(){ return this->rotationThrust_; } 113 /** 114 @brief Gets the primary thrust to the input amount. 115 @preturn The amount of thrust. 116 */ 117 inline float getPrimaryThrust() 118 { return this->primaryThrust_; } 119 inline float getAuxilaryThrust() 120 { return this->auxilaryThrust_; } 121 inline float getRotationThrust() 122 { return this->rotationThrust_; } 109 123 110 124 private:
Note: See TracChangeset
for help on using the changeset viewer.