Changeset 6991 for code/branches/ai/src/orxonox/worldentities/Drone.h
- Timestamp:
- May 27, 2010, 10:16:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai/src/orxonox/worldentities/Drone.h
r6832 r6991 110 110 inline void setRotationThrust( float thrust ) 111 111 { this->rotationThrust_=thrust; } 112 inline void setMaxDistanceToOwner( float distance) 113 { this->maxDistanceToOwner_=distance; } 114 inline void setMinDistanceToOwner( float distance) 115 { this->minDistanceToOwner_=distance; } 112 116 113 117 … … 118 122 inline float getPrimaryThrust() 119 123 { return this->primaryThrust_; } 120 121 inline float getAuxilaryThrust() 124 inline float getAuxilaryThrust() 122 125 { return this->auxilaryThrust_; } 123 inline float getRotationThrust()126 inline float getRotationThrust() 124 127 { return this->rotationThrust_; } 128 inline float getMaxDistanceToOwner() 129 { return this->maxDistanceToOwner_; } 130 inline float getMinDistanceToOwner() 131 { return this->minDistanceToOwner_; } 125 132 126 133 private: … … 132 139 float auxilaryThrust_; //!< The amount of auxilary thrust. Used for all other movements (except for rotations). 133 140 float rotationThrust_; //!< The amount of rotation thrust. Used for rotations only. 141 float maxDistanceToOwner_; //Maximum Distance to owner 142 float minDistanceToOwner_; //Minimum Distance to owner 134 143 }; 135 144
Note: See TracChangeset
for help on using the changeset viewer.