Skip to content

Commit

Permalink
rotationDirectionClockwise add dispose and reset, #151
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 6, 2017
1 parent b33ad5f commit 2fe3467
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/photon-absorption/model/Molecule.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ define( function( require ) {
this.absorptionHysteresisCountdownTime = 0;
this.vibratingProperty.reset();
this.rotatingProperty.reset();
this.rotationDirectionClockwiseProperty.reset();
this.setRotation( 0 );
this.setVibration( 0 );

Expand All @@ -167,6 +168,7 @@ define( function( require ) {
dispose: function() {
this.vibratingProperty.dispose();
this.rotatingProperty.dispose();
this.rotationDirectionClockwiseProperty.dispose();
},

/**
Expand Down

0 comments on commit 2fe3467

Please sign in to comment.