From 9be45e4f7ed1ab73001c989dbe5708dbb58f074f Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Fri, 31 Mar 2023 10:29:22 -0600 Subject: [PATCH] rename to countingObject, https://github.com/phetsims/number-suite-common/issues/40 --- js/common/view/NumberPlayScreenView.ts | 4 ++-- js/game/model/SubitizeObjectType.ts | 2 +- js/game/model/Subitizer.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/common/view/NumberPlayScreenView.ts b/js/common/view/NumberPlayScreenView.ts index 64998b0e..ff9c158c 100644 --- a/js/common/view/NumberPlayScreenView.ts +++ b/js/common/view/NumberPlayScreenView.ts @@ -140,7 +140,7 @@ class NumberPlayScreenView extends ScreenView { localeSwitch.top = wordAccordionBox.top + wordAccordionBoxHeight + 13; } ); - // create and add the CountingAccordionBox for play objects + // create and add the CountingAccordionBox for countingObjects this.objectsAccordionBox = new CountingAccordionBox( model.objectsPlayArea, model.countingObjectTypeProperty, @@ -216,7 +216,7 @@ class NumberPlayScreenView extends ScreenView { organizeOnesButton.top = onesAccordionBox.top; this.addChild( organizeOnesButton ); - // create and add a button to organize the objectsAccordionBox play objects in a grid + // create and add a button to organize the objectsAccordionBox countingObjects in a grid const organizeObjectsButton = new OrganizeButton( NumberPlayColors.blueBackgroundColorProperty, () => { if ( model.objectsGroupAndLinkTypeProperty.value === GroupAndLinkType.GROUPED_AND_LINKED ) { model.onesPlayArea.organizeObjects(); diff --git a/js/game/model/SubitizeObjectType.ts b/js/game/model/SubitizeObjectType.ts index b1a402cf..7899e6ec 100644 --- a/js/game/model/SubitizeObjectType.ts +++ b/js/game/model/SubitizeObjectType.ts @@ -1,7 +1,7 @@ // Copyright 2021-2022, University of Colorado Boulder /** - * SubitizeObjectType identifies the play object type in the 'Subitize' game in Number Play. + * SubitizeObjectType identifies the countingObject type in the 'Subitize' game in Number Play. * * @author Chris Klusendorf (PhET Interactive Simulations) * @author Luisa Vargas diff --git a/js/game/model/Subitizer.ts b/js/game/model/Subitizer.ts index d3dd481e..92c6ff67 100644 --- a/js/game/model/Subitizer.ts +++ b/js/game/model/Subitizer.ts @@ -265,7 +265,7 @@ class Subitizer { this.isInputEnabledProperty.value = false; this.resetShapeVisible(); - // set play object type and shape + // set countingObject type and shape this.setRandomCountingObjectType(); this.setNewPoints();