Skip to content

ElapsedTimeNode

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.