Skip to content

Commit

Permalink
Adding volume ranges to mystery masses, see phetsims/density#154
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Mar 30, 2023
1 parent 5fac1cf commit a1d67a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/density/model/DensityMysteryModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ export default class DensityMysteryModel extends BlockSetModel<BlockSet> {
adjustMassWithVolume: true,
adjustableMaterial: true,
tag: tags[ i ],
tandem: randomTandem.createTandem( `block${tags[ i ].name}` )
tandem: randomTandem.createTandem( `block${tags[ i ].name}` ),
minVolume: minScreenVolume,
maxVolume: maxScreenVolume
} );
} );
}
Expand Down

0 comments on commit a1d67a1

Please sign in to comment.