Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisav1 committed Dec 11, 2021
2 parents 69293dc + 6de5c92 commit cff9039
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/game/model/CountingGameLevel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const LEVEL_INPUT_RANGE = 10;
class CountingGameLevel extends NumberPlayGameLevel {

public readonly objectsPlayArea: OnesPlayArea;
public readonly playObjectTypeProperty: EnumerationProperty<any>;
public readonly playObjectTypeProperty: EnumerationProperty;
public readonly isObjectsRepresentationProperty: BooleanProperty;
public readonly groupObjects: boolean;

Expand Down
3 changes: 2 additions & 1 deletion js/game/model/Subitizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

import BooleanProperty from '../../../../axon/js/BooleanProperty.js';
import StringEnumerationProperty from '../../../../axon/js/StringEnumerationProperty.js';
import DerivedProperty from '../../../../axon/js/DerivedProperty.js';
import IReadOnlyProperty from '../../../../axon/js/IReadOnlyProperty.js';
import NumberProperty from '../../../../axon/js/NumberProperty.js';
Expand Down Expand Up @@ -181,7 +182,7 @@ class Subitizer {
this.isInputEnabledProperty = new BooleanProperty( false );

// the object type of the current shape
this.objectTypeProperty = new Property<SubitizeObjectTypeEnum>( 'dog' );
this.objectTypeProperty = new StringEnumerationProperty( SubitizeObjectTypeValues, 'dog' );

// how long the shape is visible when shown, in seconds. This is a derived Property instead of a constant because
// the time that the shape is shown is increased if the user gets the answer wrong multiple times.
Expand Down

0 comments on commit cff9039

Please sign in to comment.