Changeset 6905 for code/branches/rocket/src/modules/weapons/projectiles
- Timestamp:
- May 15, 2010, 6:12:13 PM (15 years ago)
- Location:
- code/branches/rocket/src/modules/weapons/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
r6902 r6905 180 180 } 181 181 } 182 void SimpleRocket::setDestroy() { 183 this->bDestroy_=true; 184 COUT(0)<<"trying to destroy"; 185 } 182 186 183 187 void SimpleRocket::fired(unsigned int firemode) -
code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.h
r6900 r6905 64 64 virtual void rotatePitch(const Vector2& value); 65 65 virtual void rotateRoll(const Vector2& value); 66 void setDestroy(); 66 67 67 68 /** … … 95 96 */ 96 97 inline void rotatePitch(float value) 97 { this->rotatePitch(Vector2(value, 0)); } 98 { COUT(0)<<"rotated rocket yaw"; 99 this->rotatePitch(Vector2(value, 0)); } 98 100 /** 99 101 @brief Rotates the SimpleRocket around the z-axis by the specifed amount. … … 101 103 */ 102 104 inline void rotateRoll(float value) 103 { this->rotateRoll(Vector2(value, 0)); } 105 { 106 COUT(0)<<"rotated rocket roll"; 107 this->rotateRoll(Vector2(value, 0)); } 104 108 105 109 void setOwner(Pawn* owner);
Note: See TracChangeset
for help on using the changeset viewer.