-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added phet-io control of the cueing arrows, see #188
- Loading branch information
Showing
3 changed files
with
54 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright 2022, University of Colorado Boulder | ||
|
||
/** | ||
* GreenhouseEffectOptions defines the global options for this simulation. Depending on the particulars, these can be | ||
* controlled via phet-io, query parameters, and/or from the "Options..." dialog. | ||
* | ||
* @author John Blanco (PhET Interactive Simulations) | ||
*/ | ||
|
||
import BooleanProperty from '../../../axon/js/BooleanProperty.js'; | ||
import Tandem from '../../../tandem/js/Tandem.js'; | ||
import greenhouseEffect from '../greenhouseEffect.js'; | ||
import GreenhouseEffectQueryParameters from './GreenhouseEffectQueryParameters.js'; | ||
|
||
// constants | ||
const optionsTandem = Tandem.GLOBAL_VIEW.createTandem( 'options' ); | ||
|
||
const GreenhouseEffectOptions = { | ||
|
||
cueingArrowsEnabledProperty: new BooleanProperty( GreenhouseEffectQueryParameters.cueingArrowsEnabled, { | ||
tandem: optionsTandem.createTandem( 'cueingArrowsEnabledProperty' ), | ||
phetioDocumentation: 'shows cueing arrows on draggable elements' | ||
} ) | ||
|
||
}; | ||
|
||
greenhouseEffect.register( 'GreenhouseEffectOptions', GreenhouseEffectOptions ); | ||
export default GreenhouseEffectOptions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters