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

    r10074 r10111  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      Fabien Vultier
    2424 *   Co-authors:
    2525 *      ...
     
    2929/**
    3030    @file JumpBoots.cc
    31     @brief Implementation of the JumpBoots class.
     31    @brief These boots give the figure a speed bonus when it jumpes.
    3232*/
    3333
     
    4848    RegisterClass(JumpBoots);
    4949
    50     /**
    51     @brief
    52         Constructor. Registers and initializes the object.
    53     */
    5450    JumpBoots::JumpBoots(Context* context) : JumpItem(context)
    5551    {
     
    5753
    5854        fuel_ = 3.0;
     55        attachedToFigure_ = false;
    5956
    6057        setPosition(Vector3(0,0,0));
     
    6461    }
    6562
    66     /**
    67     @brief
    68         Destructor.
    69     */
    7063    JumpBoots::~JumpBoots()
    7164    {
     
    7366    }
    7467
    75     //xml port for loading sounds
    7668    void JumpBoots::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    7769    {
     
    7971    }
    8072
    81     /**
    82     @brief
    83         Is called every tick.
    84         Handles the movement of the ball and its interaction with the boundaries and bats.
    85     @param dt
    86         The time since the last tick.
    87     */
    8873    void JumpBoots::tick(float dt)
    8974    {
     
    116101
    117102        attachedToFigure_ = figure_->StartBoots(this);
    118         if (attachedToFigure_)
    119         {
    120                 //Starte Feuer-Animation
    121         }
    122103    }
    123104}
Note: See TracChangeset for help on using the changeset viewer.