- Timestamp:
- Jan 4, 2016, 6:19:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15/src/modules/hover/HoverShip.cc
r11026 r11041 32 32 #include "HoverShip.h" 33 33 #include "core/CoreIncludes.h" 34 #include "core/XMLPort.h" 35 36 #include <BulletCollision/NarrowPhaseCollision/btManifoldPoint.h> 34 37 35 38 namespace orxonox … … 42 45 enableCollisionCallback(); 43 46 isFloor_ = false; 44 } 45 46 void HoverShip::tick(float dt) 47 { 48 SUPER(HoverShip, tick, dt); 47 jumpBoost_ = 0; 49 48 } 50 49 … … 70 69 71 70 XMLPortParam(HoverShip, "jumpBoost", setJumpBoost, getJumpBoost, xmlelement, mode); 72 }73 74 /**75 @brief76 sets this ships jumpBoost77 @param jumpBoost78 */79 void HoverShip::setJumpBoost(float jumpBoost)80 {81 this->jumpBoost_ = jumpBoost;82 }83 84 /**85 @brief86 returns this ships jumpBoost87 @returns jumpBoost88 */89 float HoverShip::getJumpBoost()90 {91 return jumpBoost_;92 71 } 93 72
Note: See TracChangeset
for help on using the changeset viewer.