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/JumpSpring.cc

    r10074 r10111  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      Fabien Vultier
    2424 *   Co-authors:
    2525 *      ...
     
    2929/**
    3030    @file JumpSpring.cc
    31     @brief Implementation of the JumpSpring class.
     31    @brief If this spring is touched by the figure, it jumps higher then from a platform.
    3232*/
    3333
    3434#include "JumpSpring.h"
    35 
    3635#include "core/CoreIncludes.h"
    3736#include "core/GameMode.h"
    3837#include "graphics/Model.h"
    3938#include "gametypes/Gametype.h"
    40 
    4139#include "JumpFigure.h"
    42 
    4340#include "sound/WorldSound.h"
    4441#include "core/XMLPort.h"
     
    4845    RegisterClass(JumpSpring);
    4946
    50     /**
    51     @brief
    52         Constructor. Registers and initializes the object.
    53     */
    5447    JumpSpring::JumpSpring(Context* context) : JumpItem(context)
    5548    {
     
    6558    }
    6659
    67     /**
    68     @brief
    69         Destructor.
    70     */
    7160    JumpSpring::~JumpSpring()
    7261    {
     
    7463    }
    7564
    76     //xml port for loading sounds
    7765    void JumpSpring::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    7866    {
     
    8068    }
    8169
    82     /**
    83     @brief
    84         Is called every tick.
    85         Handles the movement of the ball and its interaction with the boundaries and bats.
    86     @param dt
    87         The time since the last tick.
    88     */
    8970    void JumpSpring::tick(float dt)
    9071    {
Note: See TracChangeset for help on using the changeset viewer.