RewardDialog¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/vegas/blob/main/js/RewardDialog.ts for the most up-to-date information.
Overview¶
A dialog that the client displays when the user gets a specific number of stars. See specification in https://github.com/phetsims/vegas/issues/59.
@author Andrea Lin @author Chris Malley (PixelZoom, Inc.)
Class RewardDialog¶
Constructor¶
new RewardDialog( score : number | TReadOnlyProperty<number>, providedOptions? : RewardDialogOptions )¶
Instance Methods¶
Type RewardDialogOptions¶
- phetGirlScale?: number
- buttonsFont?: Font
- buttonsWidth?: number
- buttonsYSpacing?: number
- keepGoingButtonListener?: PushButtonListener
- newLevelButtonListener?: PushButtonListener
- scoreDisplayOptions?: ScoreDisplayNumberAndStarOptions
- & StrictOmit<DialogOptions, "focusOnShowNode">
Source Code¶
See the source for RewardDialog.ts in the vegas repository.