Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2016, 6:19:07 PM (9 years ago)
Author:
landauf
Message:

cleanup in hover module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/hover/HoverShip.cc

    r11026 r11041  
    3232#include "HoverShip.h"
    3333#include "core/CoreIncludes.h"
     34#include "core/XMLPort.h"
     35
     36#include <BulletCollision/NarrowPhaseCollision/btManifoldPoint.h>
    3437
    3538namespace orxonox
     
    4245        enableCollisionCallback();
    4346        isFloor_ = false;
    44     }
    45 
    46     void HoverShip::tick(float dt)
    47     {
    48         SUPER(HoverShip, tick, dt);
     47        jumpBoost_ = 0;
    4948    }
    5049
     
    7069
    7170        XMLPortParam(HoverShip, "jumpBoost", setJumpBoost, getJumpBoost, xmlelement, mode);
    72     }
    73 
    74     /**
    75     @brief
    76         sets this ships jumpBoost
    77     @param jumpBoost
    78     */
    79     void HoverShip::setJumpBoost(float jumpBoost)
    80     {
    81         this->jumpBoost_ = jumpBoost;
    82     }
    83 
    84     /**
    85     @brief
    86         returns this ships jumpBoost
    87     @returns jumpBoost
    88     */
    89     float HoverShip::getJumpBoost()
    90     {
    91         return jumpBoost_;
    9271    }
    9372
Note: See TracChangeset for help on using the changeset viewer.