Changeset 10111 for code/branches/pickupsFS14/src/modules/jump/JumpItem.h
- 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.h
r10074 r10111 21 21 * 22 22 * Author: 23 * Fabi an 'x3n' Landau23 * Fabien Vultier 24 24 * Co-authors: 25 25 * ... … … 45 45 namespace orxonox 46 46 { 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 47 class _JumpExport JumpItem : public MovableEntity 60 48 { … … 74 62 Vector2 getFieldDimension() const 75 63 { return Vector2(this->fieldWidth_, this->fieldHeight_); } 76 77 64 void setWidth(const float width) 78 65 { this->width_ = width; } … … 89 76 float fieldWidth_; //!< The width of the playing field. 90 77 float fieldHeight_; //!< The height of the playing field. 91 92 78 WeakPtr<JumpFigure> figure_; //!< An array with the two bats. 93 79 float height_; 94 80 float width_; 95 96 81 float leftBoundary_; 97 82 float rightBoundary_;
Note: See TracChangeset
for help on using the changeset viewer.