- Timestamp:
- Sep 13, 2010, 3:07:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial2/src/orxonox/worldentities/AutonomousDrone.h
r7444 r7446 109 109 //TODO: Place your set-functions here. 110 110 // - hint: auxiliary thrust, rotation thrust. 111 //TODO: Remove.112 /**113 @brief Sets the auxiliary thrust to the input amount.114 @param thrust The amount of thrust.115 */116 inline void setAuxiliaryThrust( float thrust )117 { this->auxiliaryThrust_ = thrust; }118 /**119 @brief Sets the rotation thrust to the input amount.120 @param thrust The amount of thrust.121 */122 inline void setRotationThrust( float thrust )123 { this->rotationThrust_ = thrust; }124 111 125 112 /** … … 130 117 { return this->primaryThrust_; } 131 118 //TODO: Place your get-functions here. 132 //TODO: Remove.133 /**134 @brief Gets the auxiliary thrust to the input amount.135 @return The amount of thrust.136 */137 inline float getAuxiliaryThrust()138 { return this->auxiliaryThrust_; }139 /**140 @brief Gets the rotation thrust to the input amount.141 @return The amount of thrust.142 */143 inline float getRotationThrust()144 { return this->rotationThrust_; }145 119 146 120 private:
Note: See TracChangeset
for help on using the changeset viewer.