-
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.
changed file name from .js to .ts, see #160
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
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,24 @@ | ||
// Copyright 2022, University of Colorado Boulder | ||
|
||
/** | ||
* This enum is used to describe whether a sound is part of the "basic" sounds or the "enhanced" sounds. | ||
* | ||
* @author John Blanco (PhET Interactive Simulations) | ||
*/ | ||
|
||
import Enumeration from '../../phet-core/js/Enumeration.js'; | ||
import EnumerationValue from '../../phet-core/js/EnumerationValue.js'; | ||
import tambo from './tambo.js'; | ||
|
||
class SoundScope extends EnumerationValue { | ||
static BASIC = new SoundScope(); | ||
static ENHANCED = new SoundScope(); | ||
|
||
// Gets a list of keys, values and mapping between them. For use by EnumerationProperty and PhET-iO. | ||
static enumeration = new Enumeration( SoundScope, { | ||
phetioDocumentation: 'describes whether a sound is considered part of the basic or the enhanced sounds for the sim' | ||
} ); | ||
} | ||
|
||
tambo.register( 'SoundScope', SoundScope ); | ||
export default SoundScope; |