Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 6, 2015, 11:03:00 PM (9 years ago)
Author:
landauf
Message:

merged the latest changes from pickupsFS14 to trunk

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/modules/jump/JumpRocket.cc

    r10215 r10260  
    4949        RegisterObject(JumpRocket);
    5050
    51         fuel_ = 3.0;
     51        initialFuel_ = 3.0;
     52        fuel_ = initialFuel_;
    5253        attachedToFigure_ = false;
    5354
     
    99100        attachedToFigure_ = figure_->StartRocket(this);
    100101    }
     102
     103    float JumpRocket::getFuelState()
     104    {
     105        return fuel_/initialFuel_;
     106    }
    101107}
Note: See TracChangeset for help on using the changeset viewer.