Changeset 10111 for code/branches/pickupsFS14/src/modules/jump/JumpItem.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/JumpItem.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 JumpItem.cc 31 @brief Implementation of the JumpItem class.31 @brief All items in this minigame inherit from this class. Items can move around like platforms and enemies. 32 32 */ 33 33 … … 48 48 RegisterClass(JumpItem); 49 49 50 /**51 @brief52 Constructor. Registers and initializes the object.53 */54 50 JumpItem::JumpItem(Context* context) : MovableEntity(context) 55 51 { … … 66 62 } 67 63 68 /**69 @brief70 Destructor.71 */72 64 JumpItem::~JumpItem() 73 65 { … … 75 67 } 76 68 77 //xml port for loading sounds78 69 void JumpItem::XMLPort(Element& xmlelement, XMLPort::Mode mode) 79 70 { … … 84 75 } 85 76 86 /**87 @brief88 Is called every tick.89 Handles the movement of the ball and its interaction with the boundaries and bats.90 @param dt91 The time since the last tick.92 */93 77 void JumpItem::tick(float dt) 94 78 { … … 125 109 } 126 110 127 /**128 @brief129 Set the bats for the ball.130 @param bats131 An array (of size 2) of weak pointers, to be set as the new bats.132 */133 111 void JumpItem::setFigure(WeakPtr<JumpFigure> newFigure) 134 112 {
Note: See TracChangeset
for help on using the changeset viewer.