ScoreDisplayStars¶
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.