- Timestamp:
- May 22, 2019, 2:45:31 PM (5 years ago)
- Location:
- code/branches/Presentation_FS19
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_FS19
- Property svn:mergeinfo changed
/code/branches/Boxhead_FS19 (added) merged: 12209,12211,12216,12261-12262,12267,12273-12274,12284,12286,12299-12300,12354,12358,12374,12390,12397-12399,12405
- Property svn:mergeinfo changed
-
code/branches/Presentation_FS19/src/modules/hover/HoverShip.cc
r12292 r12410 48 48 } 49 49 50 // //moves slightly right and left, that zombieship approaches 51 // void HoverShip::leftright(const Vector2& value) 52 // { 53 // this->steering_.z += 5; 54 // this->steering_.z -= 5; 55 // } 56 50 57 void HoverShip::moveFrontBack(const Vector2& value) 51 58 { this->steering_.z -= value.x; } 52 59 53 60 void HoverShip::moveRightLeft(const Vector2& value) 54 { this->steering_.x += value.x; } 61 { this->steering_.x += value.x; 62 // value.x += 0.001; 63 // value.x -= 0.001; 64 } 55 65 56 66 void HoverShip::moveUpDown(const Vector2& value) … … 101 111 } 102 112 113 if(otherObject->isA(Class(SpaceShip))) 114 { 115 removeHealth(0.2); 116 } 117 103 118 return false; 104 119 }
Note: See TracChangeset
for help on using the changeset viewer.