-
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.
initial commit for a Timing Controls keyboard help section, see #194
- Loading branch information
1 parent
535bb0d
commit b407be4
Showing
2 changed files
with
28 additions
and
2 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,26 @@ | ||
// Copyright 2022, University of Colorado Boulder | ||
|
||
/** | ||
* The contents of the | ||
* @author Jesse Greenberg (PhET Interactive Simulations) | ||
*/ | ||
|
||
import BasicActionsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/BasicActionsKeyboardHelpSection.js'; | ||
import SliderControlsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/SliderControlsKeyboardHelpSection.js'; | ||
import TwoColumnKeyboardHelpContent from '../../../../scenery-phet/js/keyboard/help/TwoColumnKeyboardHelpContent.js'; | ||
import TimingControlsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/TimingControlsKeyboardHelpSection.js'; | ||
import greenhouseEffect from '../../greenhouseEffect.js'; | ||
|
||
class GreenhouseEffectKeyboardHelpContent extends TwoColumnKeyboardHelpContent { | ||
public constructor() { | ||
const sliderHelpSection = new SliderControlsKeyboardHelpSection(); | ||
const basicActionsHelpSection = new BasicActionsKeyboardHelpSection(); | ||
|
||
const timingControlsHelpSection = new TimingControlsKeyboardHelpSection(); | ||
|
||
super( [ sliderHelpSection, timingControlsHelpSection ], [ basicActionsHelpSection ] ); | ||
} | ||
} | ||
|
||
greenhouseEffect.register( 'GreenhouseEffectKeyboardHelpContent', GreenhouseEffectKeyboardHelpContent ); | ||
export default GreenhouseEffectKeyboardHelpContent; |
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