Skip to content

Commit

Permalink
JSDoc, see #398
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Feb 22, 2018
1 parent f496290 commit c0a2561
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion js/energy-skate-park-basics/model/EnergySkateParkBasicsModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,15 @@ define( function( require ) {
}
},

// The skater moves along the ground with the same coefficient of fraction as the tracks, see #11
/**
* The skater moves along the ground with the same coefficient of fraction as the tracks, see #11. Returns a
* SkaterState that is applied to this.skater.
*
* @param {number} dt
* @param {SkaterState} skaterState
*
* @return {SkaterState}
*/
stepGround: function( dt, skaterState ) {
var x0 = skaterState.positionX;
var frictionMagnitude = ( this.frictionProperty.value === 0 || skaterState.getSpeed() < 1E-2 ) ? 0 :
Expand Down

0 comments on commit c0a2561

Please sign in to comment.