From b2db35f74aeb8ed83cefebee934bbbf201be86c9 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Mon, 23 May 2022 16:52:08 -0600 Subject: [PATCH] Move multilink and related methods to Multilink, see https://github.com/phetsims/axon/issues/395 --- js/game/view/ChallengeNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/game/view/ChallengeNode.js b/js/game/view/ChallengeNode.js index 96b73c7..52a4a22 100644 --- a/js/game/view/ChallengeNode.js +++ b/js/game/view/ChallengeNode.js @@ -8,7 +8,7 @@ */ import DerivedProperty from '../../../../axon/js/DerivedProperty.js'; -import Property from '../../../../axon/js/Property.js'; +import Multilink from '../../../../axon/js/Multilink.js'; import Dimension2 from '../../../../dot/js/Dimension2.js'; import merge from '../../../../phet-core/js/merge.js'; import FaceWithPointsNode from '../../../../scenery-phet/js/FaceWithPointsNode.js'; @@ -226,7 +226,7 @@ class ChallengeNode extends Node { // @private must be disposed // Move from "Try Again" to "Check" state when a quantity is changed, see reactants-products-and-leftovers#37. - this.answerChangedLink = Property.lazyMultilink( quantityProperties, () => { + this.answerChangedLink = Multilink.lazyMultilink( quantityProperties, () => { if ( this.playStateProperty.get() === PlayState.TRY_AGAIN ) { this.playStateProperty.set( PlayState.SECOND_CHECK ); }