- Timestamp:
- Mar 29, 2018, 12:15:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/3DPacman/PacmanGhost.h
r11832 r11834 55 55 virtual void rotatePitch(const Vector2& value); 56 56 virtual void rotateRoll(const Vector2& value); 57 57 58 virtual void resetGhost(); 58 59 /** 59 60 @brief Moves the Drone in the Front/Back-direction by the specifed amount. … … 100 101 inline void setPrimaryThrust( float thrust ) 101 102 { this->primaryThrust_ = thrust; } 102 //TODO: Place your set-functions here. 103 // Hint: auxiliary thrust, rotation thrust. 104 103 inline void setAuxillaryThrust( float thrust ) 104 { this->auxillaryThrust_ = thrust; } 105 inline void setRotationThrust( float thrust ) 106 { this->rotationThrust_ = thrust; } 107 108 inline void setResetPosition(Vector3 rpos) 109 { this->resetposition = rpos; } 110 105 111 /** 106 112 @brief Gets the primary thrust to the input amount. … … 109 115 inline float getPrimaryThrust() 110 116 { return this->primaryThrust_; } 111 //TODO: Place your get-functions here. 117 inline float getAuxillaryThrust() 118 { return this->auxillaryThrust_; } 119 inline float getRotationThrust() 120 { return this->rotationThrust_; } 121 122 inline Vector3 getResetPosition() 123 { return this->resetposition; } 124 125 112 126 113 127 private: … … 119 133 float auxiliaryThrust_; //!< The amount of auxiliary thrust. Used for all other movements (except for rotations). 120 134 float rotationThrust_; //!< The amount of rotation thrust. Used for rotations only.s 135 Vector3 resetposition; //Start position for Ghost 121 136 122 137 };
Note: See TracChangeset
for help on using the changeset viewer.