Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2014, 4:06:09 PM (9 years ago)
Author:
fvultier
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickupsFS14/src/modules/jump/JumpProjectile.h

    r10074 r10111  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      Fabien Vultier
    2424 *   Co-authors:
    2525 *      ...
     
    2727 */
    2828
    29 /**
    30     @file JumpProjectile.h
    31     @brief Declaration of the JumpProjectile class.
    32     @ingroup Jump
    33 */
    34 
    3529#ifndef _JumpProjectile_H__
    3630#define _JumpProjectile_H__
    3731
    3832#include "jump/JumpPrereqs.h"
    39 
    4033#include "util/Math.h"
    41 
    4234#include "worldentities/MovableEntity.h"
    4335
     
    4537namespace orxonox
    4638{
    47 
    48     /**
    49     @brief
    50         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     @author
    55         Fabian 'x3n' Landau
    56 
    57     @ingroup Jump
    58     */
    5939    class _JumpExport JumpProjectile : public MovableEntity
    6040    {
     
    7656                { return Vector2(this->fieldWidth_, this->fieldHeight_); }
    7757
    78 
    7958            void setFigure(WeakPtr<JumpFigure> figure);
    8059
    8160        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_;
    8764    };
    8865}
Note: See TracChangeset for help on using the changeset viewer.