Skip to content

InfiniteStatusBar

Overview

InfiniteStatusBar is the status bar for games that have an infinite (open-ended) number of challenges per level. See specification in https://github.com/phetsims/vegas/issues/59.

@author Andrea Lin @author Chris Malley (PixelZoom, Inc.)

Class InfiniteStatusBar

import { InfiniteStatusBar } from 'scenerystack/vegas';

Constructor

new InfiniteStatusBar( layoutBounds : Bounds2, visibleBoundsProperty : TReadOnlyProperty<Bounds2>, messageNode : Node, scoreProperty : TProperty<number>, providedOptions? : InfiniteStatusBarOptions )

Instance Methods

dispose()

Type InfiniteStatusBarOptions

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

Source Code

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