ScoreDisplayStars¶
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/ScoreDisplayStars.ts for the most up-to-date information.
Overview¶
Display a score as '* * * ', where '' are stars, which may be fully or partially filled in. See specification in https://github.com/phetsims/vegas/issues/59.
@author John Blanco @author Sam Reid (PhET Interactive Simulations) @author Andrea Lin
Class ScoreDisplayStars¶
Constructor¶
new ScoreDisplayStars( scoreProperty : TReadOnlyProperty<number>, providedOptions? : ScoreDisplayStarsOptions )¶
Instance Methods¶
dispose()¶
Type ScoreDisplayStarsOptions¶
- numberOfStars?: number
- perfectScore?: number
- starNodeOptions?: StarNodeOptions
- & StrictOmit<HBoxOptions, "children">
Source Code¶
See the source for ScoreDisplayStars.ts in the vegas repository.