Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7345 in orxonox.OLD for trunk/src/world_entities/space_ships


Ignore:
Timestamp:
Apr 19, 2006, 4:43:06 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Playable can now change some Playability if it is supported

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/turbine_hover.cc

    r7339 r7345  
    215215
    216216/**
    217  * loads the Settings of a TurbineHover from an XML-element.
     217 * @brief loads the Settings of a TurbineHover from an XML-element.
    218218 * @param root the XML-element to load the Spaceship's properties from
    219219 */
     
    245245
    246246/**
    247  * effect that occurs after the TurbineHover is spawned
     247 * @brief effect that occurs after the TurbineHover is spawned
    248248*/
    249249void TurbineHover::postSpawn ()
     
    253253
    254254/**
    255  * the action occuring if the turbine_hover left the game
     255 * @brief the action occuring if the turbine_hover left the game
    256256*/
    257257void TurbineHover::leftWorld ()
     
    259259
    260260/**
    261  * this function is called, when two entities collide
     261 * @brief this function is called, when two entities collide
    262262 * @param entity: the world entity with whom it collides
    263263 *
     
    272272
    273273/**
    274  * the function called for each passing timeSnap
     274 * @brief the function called for each passing timeSnap
    275275 * @param time The timespan passed since last update
    276276*/
     
    290290
    291291/**
    292  * calculate the velocity
     292 * @brief calculate the velocity
    293293 * @param time the timeslice since the last frame
    294294*/
     
    362362    case Playable::Horizontal:
    363363      {
    364         accel.z = 0.0;
     364        accel.y = 0.0;
    365365        Vector accelerationDir = this->getAbsDir().apply(accel * this->acceleration);
    366         accelerationDir.z = 0.0;
     366        accelerationDir.y = 0.0;
    367367
    368368        // this is the air friction (necessary for a smooth control)
Note: See TracChangeset for help on using the changeset viewer.