- Timestamp:
- Dec 17, 2014, 3:43:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpShield.cc
r10111 r10184 52 52 RegisterObject(JumpShield); 53 53 54 fuel_ = 7.0; 54 initialFuel_ = 7.0; 55 fuel_ = initialFuel_; 55 56 attachedToFigure_ = false; 56 57 … … 102 103 attachedToFigure_ = figure_->StartShield(this); 103 104 } 105 106 float JumpShield::getFuelState() 107 { 108 return fuel_/initialFuel_; 109 } 104 110 }
Note: See TracChangeset
for help on using the changeset viewer.