- Timestamp:
- Nov 5, 2014, 4:06:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpSpring.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 JumpSpring.cc 31 @brief I mplementation of the JumpSpring class.31 @brief If this spring is touched by the figure, it jumps higher then from a platform. 32 32 */ 33 33 34 34 #include "JumpSpring.h" 35 36 35 #include "core/CoreIncludes.h" 37 36 #include "core/GameMode.h" 38 37 #include "graphics/Model.h" 39 38 #include "gametypes/Gametype.h" 40 41 39 #include "JumpFigure.h" 42 43 40 #include "sound/WorldSound.h" 44 41 #include "core/XMLPort.h" … … 48 45 RegisterClass(JumpSpring); 49 46 50 /**51 @brief52 Constructor. Registers and initializes the object.53 */54 47 JumpSpring::JumpSpring(Context* context) : JumpItem(context) 55 48 { … … 65 58 } 66 59 67 /**68 @brief69 Destructor.70 */71 60 JumpSpring::~JumpSpring() 72 61 { … … 74 63 } 75 64 76 //xml port for loading sounds77 65 void JumpSpring::XMLPort(Element& xmlelement, XMLPort::Mode mode) 78 66 { … … 80 68 } 81 69 82 /**83 @brief84 Is called every tick.85 Handles the movement of the ball and its interaction with the boundaries and bats.86 @param dt87 The time since the last tick.88 */89 70 void JumpSpring::tick(float dt) 90 71 {
Note: See TracChangeset
for help on using the changeset viewer.