Skip to content

ElapsedTimeNode

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

Overview

ElapsedTimeNode shows the elapsed time in a game status bar (FiniteStatusBar).

@author Chris Malley (PixelZoom, Inc.)

Class ElapsedTimeNode

import { ElapsedTimeNode } from 'scenerystack/vegas';

Constructor

new ElapsedTimeNode( elapsedTimeProperty : TReadOnlyProperty<number>, providedOptions? : ElapsedTimeNodeOptions )

Instance Methods

dispose()

Type ElapsedTimeNodeOptions

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

Source Code

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