Skip to content

Commit

Permalink
rename to countingObject, phetsims/number-suite-common#40
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 31, 2023
1 parent 17d6b97 commit 9be45e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/common/view/NumberPlayScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion js/game/model/SubitizeObjectType.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion js/game/model/Subitizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 9be45e4

Please sign in to comment.