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¶
Constructor¶
new InfiniteStatusBar( layoutBounds : Bounds2, visibleBoundsProperty : TReadOnlyProperty<Bounds2>, messageNode : Node, scoreProperty : TProperty<number>, providedOptions? : InfiniteStatusBarOptions )¶
Instance Methods¶
dispose()¶
Type InfiniteStatusBarOptions¶
- backButtonListener?: PushButtonListener
- xMargin?: number
- yMargin?: number
- spacing?: number
- createScoreDisplay?: ( scoreProperty: TProperty<number> ) => Node
score display - & StrictOmit<StatusBarOptions, "children" | "barHeight">
Source Code¶
See the source for InfiniteStatusBar.ts in the vegas repository.