-
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.
Converting string patterns to fluent messages in molecules-and-light …
…strings, see phetsims/joist#992
- Loading branch information
1 parent
2491a7e
commit 3117697
Showing
8 changed files
with
345 additions
and
119 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
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,23 @@ | ||
// Copyright 2024, University of Colorado Boulder | ||
|
||
/** | ||
* The representations of photon absorptions in the micro model. | ||
* @author Jesse Greenberg | ||
*/ | ||
|
||
import Enumeration from '../../../../phet-core/js/Enumeration.js'; | ||
import EnumerationValue from '../../../../phet-core/js/EnumerationValue.js'; | ||
import greenhouseEffect from '../../greenhouseEffect.js'; | ||
|
||
class AbsorptionRepresentation extends EnumerationValue { | ||
static ROTATE = new AbsorptionRepresentation(); | ||
static VIBRATE = new AbsorptionRepresentation(); | ||
static EXCITE = new AbsorptionRepresentation(); | ||
static BREAK_APART = new AbsorptionRepresentation(); | ||
static NULL = new AbsorptionRepresentation(); | ||
|
||
static enumeration = new Enumeration( AbsorptionRepresentation ); | ||
} | ||
|
||
greenhouseEffect.register( 'AbsorptionRepresentation', AbsorptionRepresentation ); | ||
export default AbsorptionRepresentation; |
Oops, something went wrong.