Skip to content

ScoreDisplayLabeledStars

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/ScoreDisplayLabeledStars.ts for the most up-to-date information.

Overview

Display a score as 'Score: * * * ', where '' are stars, which may be fully or partially filled in. See specification in https://github.com/phetsims/vegas/issues/59.

@author Chris Malley (PixelZoom, Inc.)

Class ScoreDisplayLabeledStars

import { ScoreDisplayLabeledStars } from 'scenerystack/vegas';

Constructor

new ScoreDisplayLabeledStars( scoreProperty : TReadOnlyProperty<number>, providedOptions? : ScoreDisplayLabeledStarsOptions )

Instance Methods

dispose()

Type ScoreDisplayLabeledStarsOptions

import type { ScoreDisplayLabeledStarsOptions } from 'scenerystack/vegas';

Source Code

See the source for ScoreDisplayLabeledStars.ts in the vegas repository.