Changeset 10111 for code/branches/pickupsFS14/src/modules/jump/JumpBoots.cc
- Timestamp:
- Nov 5, 2014, 4:06:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpBoots.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 JumpBoots.cc 31 @brief Implementation of the JumpBoots class.31 @brief These boots give the figure a speed bonus when it jumpes. 32 32 */ 33 33 … … 48 48 RegisterClass(JumpBoots); 49 49 50 /**51 @brief52 Constructor. Registers and initializes the object.53 */54 50 JumpBoots::JumpBoots(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 JumpBoots::~JumpBoots() 71 64 { … … 73 66 } 74 67 75 //xml port for loading sounds76 68 void JumpBoots::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 JumpBoots::tick(float dt) 89 74 { … … 116 101 117 102 attachedToFigure_ = figure_->StartBoots(this); 118 if (attachedToFigure_)119 {120 //Starte Feuer-Animation121 }122 103 } 123 104 }
Note: See TracChangeset
for help on using the changeset viewer.