Skip to content

ScoreDisplayLabeledNumber

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

Overview

Display a score as 'Score: N', where N is a number. See specification in https://github.com/phetsims/vegas/issues/59.

@author Andrea Lin

Class ScoreDisplayLabeledNumber

import { ScoreDisplayLabeledNumber } from 'scenerystack/vegas';

Constructor

new ScoreDisplayLabeledNumber( scoreProperty : TReadOnlyProperty<number>, providedOptions? : ScoreDisplayLabeledNumberOptions )

Instance Methods

dispose()

Type ScoreDisplayLabeledNumberOptions

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

Source Code

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