Skip to content

Commit

Permalink
Reset after declaring all fields, see #201
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 13, 2016
1 parent 753907c commit aecc2d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/balloons-and-static-electricity/model/PointChargeModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ define( function( require ) {

// @public (read-only)
this.defaultLocation = new Vector2( x, y );
this.reset();

// @public - whether or not the charge has been moved from sweater to balloon
this.moved = false;

this.reset();
}

PointChargeModel.radius = 8;
Expand Down

0 comments on commit aecc2d8

Please sign in to comment.