Skip to content

TimeSpeed

Overview

TimeSpeed is an enumeration of time speeds. These are supported by TimeControlNode, when it includes speed controls.

@author Jesse Greenberg (PhET Interactive Simulations) @author Chris Malley (PixelZoom, Inc.)

Class TimeSpeed

import { TimeSpeed } from 'scenerystack/scenery-phet';

Static Properties

FAST : TimeSpeed

(readonly)

NORMAL : TimeSpeed

(readonly)

SLOW : TimeSpeed

(readonly)

enumeration : Enumeration

(readonly)

Gets a list of keys, values and mapping between them. For use in EnumerationProperty and PhET-iO

Source Code

See the source for TimeSpeed.ts in the scenery-phet repository.