Skip to content

FiniteStatusBar

Overview

FiniteStatusBar is the status bar for games that have a finite number of challenges per level. This was adapted from and replaces ScoreboardBar. See https://github.com/phetsims/vegas/issues/66.

@author Chris Malley (PixelZoom, Inc.)

Class FiniteStatusBar

import { FiniteStatusBar } from 'scenerystack/vegas';

Constructor

new FiniteStatusBar( layoutBounds : Bounds2, visibleBoundsProperty : TReadOnlyProperty<Bounds2>, scoreProperty : TProperty<number>, providedOptions? : FiniteStatusBarOptions )

Instance Methods

dispose()

Type FiniteStatusBarOptions

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

Source Code

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