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

    r10215 r10260  
    5252        RegisterObject(JumpBoots);
    5353
    54         fuel_ = 3.0;
     54        initialFuel_ = 3.0;
     55        fuel_ = initialFuel_;
    5556        attachedToFigure_ = false;
    5657
     
    102103        attachedToFigure_ = figure_->StartBoots(this);
    103104    }
     105
     106    float JumpBoots::getFuelState()
     107    {
     108        return fuel_/initialFuel_;
     109    }
    104110}
Note: See TracChangeset for help on using the changeset viewer.