- Timestamp:
- Nov 5, 2014, 4:06:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpProjectile.h
r10074 r10111 21 21 * 22 22 * Author: 23 * Fabi an 'x3n' Landau23 * Fabien Vultier 24 24 * Co-authors: 25 25 * ... … … 27 27 */ 28 28 29 /**30 @file JumpProjectile.h31 @brief Declaration of the JumpProjectile class.32 @ingroup Jump33 */34 35 29 #ifndef _JumpProjectile_H__ 36 30 #define _JumpProjectile_H__ 37 31 38 32 #include "jump/JumpPrereqs.h" 39 40 33 #include "util/Math.h" 41 42 34 #include "worldentities/MovableEntity.h" 43 35 … … 45 37 namespace orxonox 46 38 { 47 48 /**49 @brief50 This class manages the ball for @ref orxonox::Jump "Jump".51 52 It is responsible for both the movement of the ball in the x,z-plane as well as its interaction with the boundaries of the playing field (defined by the @ref orxonox::JumpCenterpoint "JumpCenterpoint") and the @ref orxonox::JumpFigure "JumpFigures". Or more precisely, it makes the ball bounce off then upper and lower delimiters of the playing field, it makes the ball bounce off the bats and also detects when a player scores and takes appropriate measures.53 54 @author55 Fabian 'x3n' Landau56 57 @ingroup Jump58 */59 39 class _JumpExport JumpProjectile : public MovableEntity 60 40 { … … 76 56 { return Vector2(this->fieldWidth_, this->fieldHeight_); } 77 57 78 79 58 void setFigure(WeakPtr<JumpFigure> figure); 80 59 81 60 protected: 82 void registerVariables(); 83 84 float fieldWidth_; //!< The width of the playing field. 85 float fieldHeight_; //!< The height of the playing field. 86 WeakPtr<JumpFigure> figure_; //!< An array with the two bats. 61 float fieldWidth_; 62 float fieldHeight_; 63 WeakPtr<JumpFigure> figure_; 87 64 }; 88 65 }
Note: See TracChangeset
for help on using the changeset viewer.