- Timestamp:
- Nov 5, 2014, 4:06:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpPropeller.cc
r10074 r10111 21 21 * 22 22 * Author: 23 * Fabi an 'x3n' Landau23 * Fabien Vultier 24 24 * Co-authors: 25 25 * ... … … 29 29 /** 30 30 @file JumpPropeller.cc 31 @brief I mplementation of the JumpPropeller class.31 @brief If this propeller is created, attachedToFigure_ is set to false. When the figure picks it up, the variable is set to true and the figure starts flying until the fuel is reduced to zero. 32 32 */ 33 33 … … 48 48 RegisterClass(JumpPropeller); 49 49 50 /**51 @brief52 Constructor. Registers and initializes the object.53 */54 50 JumpPropeller::JumpPropeller(Context* context) : JumpItem(context) 55 51 { … … 57 53 58 54 fuel_ = 3.0; 55 attachedToFigure_ = false; 59 56 60 57 setPosition(Vector3(0,0,0)); … … 64 61 } 65 62 66 /**67 @brief68 Destructor.69 */70 63 JumpPropeller::~JumpPropeller() 71 64 { … … 73 66 } 74 67 75 //xml port for loading sounds76 68 void JumpPropeller::XMLPort(Element& xmlelement, XMLPort::Mode mode) 77 69 { … … 79 71 } 80 72 81 /**82 @brief83 Is called every tick.84 Handles the movement of the ball and its interaction with the boundaries and bats.85 @param dt86 The time since the last tick.87 */88 73 void JumpPropeller::tick(float dt) 89 74 {
Note: See TracChangeset
for help on using the changeset viewer.