Skip to content

Commit

Permalink
changed file name from .js to .ts, see #160
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Apr 14, 2022
1 parent 4748fdf commit 82bab3d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
File renamed without changes.
24 changes: 24 additions & 0 deletions js/SoundScope.ts
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;

0 comments on commit 82bab3d

Please sign in to comment.